結果
| 問題 |
No.2814 Block Game
|
| コンテスト | |
| ユーザー |
keisuke6
|
| 提出日時 | 2024-07-19 21:56:39 |
| 言語 | C++17 (gcc 13.3.0 + boost 1.87.0) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 290 bytes |
| コンパイル時間 | 2,450 ms |
| コンパイル使用メモリ | 193,644 KB |
| 最終ジャッジ日時 | 2025-02-23 16:32:32 |
|
ジャッジサーバーID (参考情報) |
judge4 / 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;
n++;
int a = 1;
while(a < n) a *= 2;
cout<<(a == n ? "Alice" : "Bob")<<endl;
}
}
keisuke6