結果
| 問題 |
No.2814 Block Game
|
| コンテスト | |
| ユーザー |
keisuke6
|
| 提出日時 | 2024-07-19 21:55:08 |
| 言語 | C++17 (gcc 13.3.0 + boost 1.87.0) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 277 bytes |
| コンパイル時間 | 2,088 ms |
| コンパイル使用メモリ | 193,000 KB |
| 最終ジャッジ日時 | 2025-02-23 16:31:55 |
|
ジャッジサーバーID (参考情報) |
judge1 / judge4 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 1 |
| other | WA * 20 |
ソースコード
#include <bits/stdc++.h>
using namespace std;
#define int long long
signed main(){
int T;
cin>>T;
while(T--){
int n;
string s;
cin>>n>>s;
int a = 1;
while(a < n) a *= 2;
cout<<(a != n ? "Alice" : "Bob")<<endl;
}
}
keisuke6