Submission #00061
ソースコード
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 | #include <bits/stdc++.h> using namespace std; int n,k; unsigned int dat[5][5]; int findxor(unsigned int cur, int row){ if (row == n) { return cur == 0; } for ( int i = 0; i < k; i++) { if (findxor(cur^dat[row][i], row+1)) return 1; } return 0; } int main(){ cin >> n >> k; for ( int i = 0; i < n; i++) { for ( int j = 0; j < k; j++) { cin >> dat[i][j]; } } if (findxor(0,0))cout << "Found" << endl; else cout << "Nothing" << endl; } |
ステータス
項目 | データ |
---|---|
問題 | 0002 - 回れ雛月花 -Easy |
ユーザー名 | ei1538 |
投稿日時 | 2016-04-27 17:15:25 |
言語 | C++11 |
状態 | Wrong Answer |
得点 | 0 |
ソースコード長 | 747 Byte |
最大実行時間 | 14 ms |
最大メモリ使用量 | 516 KB |
セット
セット | 得点 | Cases | |
---|---|---|---|
1 | ALL | 0 / 100 | * |
テストケース
ファイル名 | 状態 | 実行時間 | メモリ使用量 | # |
---|---|---|---|---|
in1.txt | AC | 13 ms | 476 KB |
1
|
in2.txt | AC | 11 ms | 580 KB |
1
|
in3.txt | AC | 10 ms | 556 KB |
1
|
in4.txt | AC | 11 ms | 536 KB |
1
|
in5.txt | AC | 13 ms | 512 KB |
1
|
in6.txt | AC | 11 ms | 484 KB |
1
|
in7.txt | AC | 13 ms | 588 KB |
1
|
in8.txt | AC | 10 ms | 568 KB |
1
|
in9.txt | AC | 12 ms | 540 KB |
1
|
in10.txt | AC | 12 ms | 452 KB |
1
|
in11.txt | AC | 13 ms | 556 KB |
1
|
in12.txt | AC | 13 ms | 404 KB |
1
|
in13.txt | AC | 13 ms | 512 KB |
1
|
in14.txt | AC | 14 ms | 488 KB |
1
|
in15.txt | AC | 14 ms | 600 KB |
1
|