結果

問題 No.1210 XOR Grid
ユーザー KeroruKeroru
提出日時 2020-08-30 16:25:13
言語 PyPy3
(7.3.15)
結果
WA  
実行時間 -
コード長 186 bytes
コンパイル時間 178 ms
コンパイル使用メモリ 82,508 KB
実行使用メモリ 264,204 KB
最終ジャッジ日時 2024-04-27 10:04:28
合計ジャッジ時間 11,076 ms
ジャッジサーバーID
(参考情報)
judge5 / judge4
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 40 ms
52,144 KB
testcase_01 WA -
testcase_02 AC 41 ms
59,048 KB
testcase_03 AC 38 ms
52,332 KB
testcase_04 AC 39 ms
52,992 KB
testcase_05 WA -
testcase_06 WA -
testcase_07 AC 39 ms
53,688 KB
testcase_08 WA -
testcase_09 AC 37 ms
53,148 KB
testcase_10 WA -
testcase_11 AC 38 ms
52,400 KB
testcase_12 WA -
testcase_13 WA -
testcase_14 AC 38 ms
53,340 KB
testcase_15 WA -
testcase_16 AC 38 ms
53,700 KB
testcase_17 AC 38 ms
52,704 KB
testcase_18 AC 37 ms
54,220 KB
testcase_19 AC 37 ms
52,756 KB
testcase_20 AC 38 ms
52,724 KB
testcase_21 AC 39 ms
53,764 KB
testcase_22 WA -
testcase_23 WA -
testcase_24 WA -
testcase_25 AC 356 ms
259,848 KB
testcase_26 AC 108 ms
120,376 KB
testcase_27 AC 106 ms
120,732 KB
testcase_28 AC 325 ms
259,384 KB
testcase_29 WA -
testcase_30 WA -
testcase_31 WA -
testcase_32 WA -
testcase_33 AC 39 ms
53,260 KB
testcase_34 AC 38 ms
52,624 KB
testcase_35 AC 39 ms
54,220 KB
testcase_36 AC 295 ms
256,316 KB
testcase_37 AC 84 ms
105,888 KB
testcase_38 AC 84 ms
105,268 KB
testcase_39 AC 193 ms
199,268 KB
testcase_40 AC 320 ms
263,220 KB
testcase_41 AC 330 ms
261,936 KB
testcase_42 AC 366 ms
260,396 KB
testcase_43 AC 343 ms
264,100 KB
testcase_44 AC 361 ms
260,456 KB
testcase_45 AC 366 ms
260,452 KB
testcase_46 AC 347 ms
260,352 KB
testcase_47 AC 142 ms
132,348 KB
testcase_48 AC 142 ms
132,400 KB
testcase_49 AC 44 ms
59,568 KB
testcase_50 AC 233 ms
191,628 KB
testcase_51 WA -
testcase_52 WA -
testcase_53 WA -
testcase_54 AC 141 ms
132,568 KB
testcase_55 WA -
testcase_56 WA -
testcase_57 WA -
testcase_58 WA -
testcase_59 WA -
権限があれば一括ダウンロードができます

ソースコード

diff #

M=10**9+7;n,m,x,*v=map(int,open(0).read().split());a=v[:n];b=v[n:];print(pow(pow(2,(n-1)*(m-1),M),x,M)*all([(sum([(s>>i)&1for s in a])-sum([(s>>i)&1for s in a]))%2==0for i in range(x)]))
0