Submission #00043
ソースコード
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 | #include<bits/stdc++.h> #define mset multiset #define unset unordered_set #define ll long long #define endl "\n"; #define prg_queue priority_queue <int,vector<int>,greater<int> #define pr_queue priority_queue <int> #define upper upper_bound #define lower lower_bound using namespace std; int main(){ int a=0,b=0,c=0,d=0,e=0,f; cin >>a; int q[a]; for ( int o=0; o<a; o++){ cin >>q[o]; e=e^q[o]; } for ( int o=0; o<a; o++){ e=e^q[o]; cout <<e<<endl e=e^q[o]; } return 0; } |
ステータス
項目 | データ |
---|---|
問題 | 0007 - ^^ |
ユーザー名 | SnakyZoo8277089 |
投稿日時 | 2024-07-18 13:55:54 |
言語 | C++17 |
状態 | Accepted |
得点 | 10 |
ソースコード長 | 564 Byte |
最大実行時間 | 60 ms |
最大メモリ使用量 | 6680 KB |
セット
セット | 得点 | Cases | |
---|---|---|---|
1 | ALL | 10 / 10 | * |
テストケース
ファイル名 | 状態 | 実行時間 | メモリ使用量 | # |
---|---|---|---|---|
in01.txt | AC | 26 ms | 472 KB |
1
|
in02.txt | AC | 18 ms | 572 KB |
1
|
in03.txt | AC | 18 ms | 544 KB |
1
|
in04.txt | AC | 21 ms | 644 KB |
1
|
in05.txt | AC | 17 ms | 492 KB |
1
|
in06.txt | AC | 27 ms | 460 KB |
1
|
in07.txt | AC | 19 ms | 556 KB |
1
|
in08.txt | AC | 21 ms | 528 KB |
1
|
in09.txt | AC | 19 ms | 628 KB |
1
|
in10.txt | AC | 21 ms | 596 KB |
1
|
in11.txt | AC | 19 ms | 564 KB |
1
|
in12.txt | AC | 21 ms | 668 KB |
1
|
in13.txt | AC | 23 ms | 640 KB |
1
|
in14.txt | AC | 19 ms | 488 KB |
1
|
in15.txt | AC | 22 ms | 592 KB |
1
|
in16.txt | AC | 18 ms | 692 KB |
1
|
in17.txt | AC | 29 ms | 664 KB |
1
|
in18.txt | AC | 20 ms | 632 KB |
1
|
in19.txt | AC | 17 ms | 600 KB |
1
|
in20.txt | AC | 20 ms | 576 KB |
1
|
in21.txt | AC | 51 ms | 1572 KB |
1
|
in22.txt | AC | 60 ms | 2664 KB |
1
|
in23.txt | AC | 31 ms | 2772 KB |
1
|
in24.txt | AC | 45 ms | 3532 KB |
1
|
in25.txt | AC | 43 ms | 4136 KB |
1
|
in26.txt | AC | 58 ms | 5108 KB |
1
|
in27.txt | AC | 41 ms | 5352 KB |
1
|
in28.txt | AC | 35 ms | 5668 KB |
1
|
in29.txt | AC | 33 ms | 5916 KB |
1
|
in30.txt | AC | 46 ms | 6680 KB |
1
|
sample01.txt | AC | 18 ms | 6536 KB |
1
|
sample02.txt | AC | 23 ms | 6508 KB |
1
|