結果
| 問題 | No.2282 Boxed Nim |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2026-01-22 23:58:37 |
| 言語 | C++23 (gcc 15.2.0 + boost 1.89.0) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 244 bytes |
| 記録 | |
| コンパイル時間 | 3,248 ms |
| コンパイル使用メモリ | 333,752 KB |
| 実行使用メモリ | 7,848 KB |
| 最終ジャッジ日時 | 2026-01-22 23:58:43 |
| 合計ジャッジ時間 | 5,426 ms |
|
ジャッジサーバーID (参考情報) |
judge3 / judge5 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | WA * 3 |
| other | WA * 17 |
ソースコード
#include <bits/stdc++.h>
using namespace std;
int main(void){
int n;
cin>>n;
int a0=0;
for(int i=0;i<n;i++){
int a;
cin>>a;
if(a==0)a0++;
}
cout<<(a0%2==0?"second":"first")<<endl;
return 0;
}