結果
| 問題 |
No.2016 Countdown Divisors
|
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2022-07-22 22:58:58 |
| 言語 | C++17 (gcc 13.3.0 + boost 1.87.0) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 322 bytes |
| コンパイル時間 | 1,719 ms |
| コンパイル使用メモリ | 192,748 KB |
| 最終ジャッジ日時 | 2025-01-30 12:57:20 |
|
ジャッジサーバーID (参考情報) |
judge5 / judge3 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 1 |
| other | AC * 1 WA * 18 |
ソースコード
#include <bits/stdc++.h>
using namespace std;
static inline void solution() {
int TT;
cin >> TT;
while (TT--) {
int n;
cin >> n;
if (n & 1) {
cout << 1 << '\n';
} else {
cout << 2 << '\n';
}
}
}
int main() {
ios_base::sync_with_stdio(0), cin.tie(0);
solution();
return 0;
}