結果
| 問題 | No.3787 17 years old |
| コンテスト | |
| ユーザー |
DeltaStruct
|
| 提出日時 | 2026-09-22 12:51:18 |
| 言語 | C++23(gnu拡張) (gcc 15.3.0 + boost 1.92.0 + ACL) |
| 結果 |
AC
不安定
|
| 実行時間 | 24 ms / 2,000 ms |
| + 689µs | |
| コード長 | 208 bytes |
| 記録 | |
| コンパイル時間 | 2,292 ms |
| コンパイル使用メモリ | 338,848 KB |
| 実行使用メモリ | 9,824 KB |
| 最終ジャッジ日時 | 2026-11-06 20:58:33 |
| 合計ジャッジ時間 | 4,008 ms |
|
ジャッジサーバーID (参考情報) |
judge1_0 / judge4_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 1 |
| other | AC * 3 |
ソースコード
#include <bits/stdc++.h>
using namespace std;
int main(){
int q; cin >> q;
while(q--){
int n; cin >> n;
if (n==1||n==2||n==4||n==8||n==16) cout << "Yes" << endl;
else cout << "No" << endl;
}
}
DeltaStruct