結果
問題 |
No.130 XOR Minimax
|
ユーザー |
|
提出日時 | 2016-09-08 12:15:14 |
言語 | C++14 (gcc 13.3.0 + boost 1.87.0) |
結果 |
WA
|
実行時間 | - |
コード長 | 198 bytes |
コンパイル時間 | 678 ms |
コンパイル使用メモリ | 62,808 KB |
実行使用メモリ | 6,824 KB |
最終ジャッジ日時 | 2024-11-15 22:16:49 |
合計ジャッジ時間 | 2,283 ms |
ジャッジサーバーID (参考情報) |
judge5 / judge2 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 2 WA * 19 |
ソースコード
#include <iostream> int main() { int n; std::cin>>n; int s; std::cin>>s; if(n==1){ s=0; } for(int i=0;i<n-1;i++){ int a; std::cin>>a; s=s^a; } std::cout<<s<<std::endl; return 0; }