結果
| 問題 | No.3787 17 years old |
| ユーザー |
👑 |
| 提出日時 | 2026-11-10 11:01:59 |
| 言語 | C++23 (gcc 15.3.0 + boost 1.92.0 + ACL) |
| 結果 |
AC
不安定
|
| 実行時間 | 2 ms / 2,000 ms |
| + 964µs | |
| コード長 | 264 bytes |
| 記録 | |
| コンパイル時間 | 2,803 ms |
| コンパイル使用メモリ | 332,732 KB |
| 実行使用メモリ | 7,856 KB |
| 最終ジャッジ日時 | 2026-11-10 11:02:04 |
| 合計ジャッジ時間 | 3,976 ms |
|
ジャッジサーバーID (参考情報) |
judge3_0 / judge2_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 1 |
| other | AC * 3 |
ソースコード
#include<bits/stdc++.h>
using namespace std;
using ll=long long;
int main()
{
cin.tie(0)->sync_with_stdio(0);
ll t;cin>>t;
while(t--)
{
ll n;cin>>n;
if(n==1||n==2||n==4||n==8||n==16)cout<<"Yes\n";
else cout<<"No\n";
}
}