結果
| 問題 |
No.2016 Countdown Divisors
|
| コンテスト | |
| ユーザー |
🍮かんプリン
|
| 提出日時 | 2022-07-22 22:58:35 |
| 言語 | C++14 (gcc 13.3.0 + boost 1.87.0) |
| 結果 |
AC
|
| 実行時間 | 173 ms / 2,000 ms |
| コード長 | 424 bytes |
| コンパイル時間 | 1,444 ms |
| コンパイル使用メモリ | 166,240 KB |
| 実行使用メモリ | 6,944 KB |
| 最終ジャッジ日時 | 2024-07-04 07:33:28 |
| 合計ジャッジ時間 | 5,216 ms |
|
ジャッジサーバーID (参考情報) |
judge2 / judge1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 1 |
| other | AC * 19 |
ソースコード
/**
* @FileName a.cpp
* @Author kanpurin
* @Created 2022.07.22 22:58:31
**/
#include "bits/stdc++.h"
using namespace std;
typedef long long ll;
int main() {
int t;cin >> t;
while(t--) {
int n;cin >> n;
if (n == 1 || n == 3 || n == 4 || n == 5 || n == 7 || n == 8) {
cout << 1 << endl;
}
else {
cout << 2 << endl;
}
}
return 0;
}
🍮かんプリン