結果
| 問題 | No.1716 Bonus Nim |
| コンテスト | |
| ユーザー |
37zigen
|
| 提出日時 | 2021-10-22 23:05:23 |
| 言語 | C++14 (gcc 13.3.0 + boost 1.87.0) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 414 bytes |
| コンパイル時間 | 622 ms |
| コンパイル使用メモリ | 66,176 KB |
| 実行使用メモリ | 5,376 KB |
| 最終ジャッジ日時 | 2024-09-23 07:00:28 |
| 合計ジャッジ時間 | 5,639 ms |
|
ジャッジサーバーID (参考情報) |
judge1 / judge3 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 1 |
| other | AC * 1 WA * 25 |
ソースコード
// This file is a "Hello, world!" in C++ language by GCC for wandbox.
#include <iostream>
#include <cstdlib>
#include <vector>
#include <utility>
using namespace std;
int main()
{
int T;
cin >> T;
while (T-->0) {
int N;
cin >> N;
for (int i=0;i<N;++i) {
int a;
cin >> a;
}
if (N % 2 == 0) {
cout << "Bob" << endl;
} else {
cout << "Alice" << endl;
}
}
}
37zigen