結果
| 問題 |
No.2016 Countdown Divisors
|
| コンテスト | |
| ユーザー |
mmn15277198
|
| 提出日時 | 2022-08-26 22:31:02 |
| 言語 | C++14 (gcc 13.3.0 + boost 1.87.0) |
| 結果 |
AC
|
| 実行時間 | 167 ms / 2,000 ms |
| コード長 | 281 bytes |
| コンパイル時間 | 1,479 ms |
| コンパイル使用メモリ | 165,964 KB |
| 実行使用メモリ | 5,248 KB |
| 最終ジャッジ日時 | 2024-10-13 23:09:23 |
| 合計ジャッジ時間 | 5,593 ms |
|
ジャッジサーバーID (参考情報) |
judge5 / judge4 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 1 |
| other | AC * 19 |
ソースコード
#include <bits/stdc++.h>
using namespace std;
int main() {
int t;
cin >> t;
while (t--) {
long long x;
cin >> x;
if (x == 1 || x == 3 || x == 5 || x == 7 || x == 4 || x == 8) {
cout << 1 << endl;
} else {
cout << 2 << endl;
}
}
return 0;
}
mmn15277198