提出 #25979432
ソースコード 拡げる
#include <bits/stdc++.h>
using namespace std;
int X;
int main() {
cin >> X;
if (X >= 90) {
cout << "expert" << endl;
} else if (X >= 70) {
cout << 90 - X << endl;
} else if (X >= 40) {
cout << 70 - X << endl;
} else {
cout << 40 - X << endl;
}
return 0;
}
提出情報
| 提出日時 | |
|---|---|
| 問題 | A - AtCoder Quiz 2 |
| ユーザ | ryo_ryo66 |
| 言語 | C++ (GCC 9.2.1) |
| 得点 | 100 |
| コード長 | 304 Byte |
| 結果 | AC |
| 実行時間 | 7 ms |
| メモリ | 3608 KiB |
ジャッジ結果
| セット名 | Sample | All | ||||
|---|---|---|---|---|---|---|
| 得点 / 配点 | 0 / 0 | 100 / 100 | ||||
| 結果 |
|
|
| セット名 | テストケース |
|---|---|
| Sample | example_00, example_01, example_02, example_03 |
| All | example_00, example_01, example_02, example_03, rand_00, rand_01, rand_02, rand_03, rand_04, rand_05, rand_06 |
| ケース名 | 結果 | 実行時間 | メモリ |
|---|---|---|---|
| example_00 | AC | 7 ms | 3536 KiB |
| example_01 | AC | 2 ms | 3488 KiB |
| example_02 | AC | 2 ms | 3428 KiB |
| example_03 | AC | 2 ms | 3428 KiB |
| rand_00 | AC | 3 ms | 3608 KiB |
| rand_01 | AC | 2 ms | 3372 KiB |
| rand_02 | AC | 2 ms | 3492 KiB |
| rand_03 | AC | 2 ms | 3564 KiB |
| rand_04 | AC | 2 ms | 3360 KiB |
| rand_05 | AC | 2 ms | 3504 KiB |
| rand_06 | AC | 2 ms | 3368 KiB |