結果
| 問題 |
No.946 箱箱箱
|
| コンテスト | |
| ユーザー |
Rubikun
|
| 提出日時 | 2019-12-09 00:04:18 |
| 言語 | C++14 (gcc 13.3.0 + boost 1.87.0) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 511 bytes |
| コンパイル時間 | 1,788 ms |
| コンパイル使用メモリ | 161,852 KB |
| 実行使用メモリ | 5,248 KB |
| 最終ジャッジ日時 | 2025-01-02 20:55:38 |
| 合計ジャッジ時間 | 3,515 ms |
|
ジャッジサーバーID (参考情報) |
judge4 / judge2 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 32 WA * 19 |
ソースコード
#include <bits/stdc++.h>
using namespace std;
typedef long long ll;
#define all(x) (x).begin(),(x).end()
const int mod=998244353,MAX=200005;
const ll INF=1LL<<60;
int main(){
std::ifstream in("text.txt");
std::cin.rdbuf(in.rdbuf());
cin.tie(0);
ios::sync_with_stdio(false);
int N;cin>>N;
vector<ll> A(N);
ll sum=0;
for(int i=0;i<N;i++){
cin>>A[i];
sum^=A[i];
}
if(sum==0) cout<<"Takahashi"<<endl;
else cout<<"Takanashi"<<endl;
}
Rubikun