結果
| 問題 | No.2814 Block Game |
| コンテスト | |
| ユーザー |
tnakao0123
|
| 提出日時 | 2024-07-22 18:06:18 |
| 言語 | C++17 (gcc 15.2.0 + boost 1.90.0) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 432 bytes |
| 記録 | |
| コンパイル時間 | 139 ms |
| コンパイル使用メモリ | 52,208 KB |
| 実行使用メモリ | 9,284 KB |
| 最終ジャッジ日時 | 2026-07-05 08:12:58 |
| 合計ジャッジ時間 | 5,076 ms |
|
ジャッジサーバーID (参考情報) |
judge3_1 / judge1_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 1 |
| other | WA * 20 |
ソースコード
/* -*- coding: utf-8 -*-
*
* 2814.cc: No.2814 Block Game - yukicoder
*/
#include<cstdio>
#include<algorithm>
using namespace std;
/* constant */
/* typedef */
using ll = long long;
/* global variables */
/* subroutines */
/* main */
int main() {
int tn;
scanf("%d", &tn);
while (tn--) {
ll n;
char s[8];
scanf("%lld%s", &n, s);
if (n & 1) puts("Alice");
else puts("Bob");
}
return 0;
}
tnakao0123