結果

問題 No.2212 One XOR Matrix
ユーザー 👑 p-adicp-adic
提出日時 2023-06-25 10:05:31
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 196 ms / 2,000 ms
コード長 179 bytes
コンパイル時間 285 ms
コンパイル使用メモリ 87,328 KB
実行使用メモリ 86,884 KB
最終ジャッジ日時 2023-09-15 07:09:14
合計ジャッジ時間 3,936 ms
ジャッジサーバーID
(参考情報)
judge13 / judge14
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 71 ms
71,456 KB
testcase_01 AC 69 ms
71,592 KB
testcase_02 AC 74 ms
71,404 KB
testcase_03 AC 73 ms
71,444 KB
testcase_04 AC 75 ms
75,612 KB
testcase_05 AC 91 ms
76,944 KB
testcase_06 AC 86 ms
76,656 KB
testcase_07 AC 95 ms
77,792 KB
testcase_08 AC 121 ms
79,640 KB
testcase_09 AC 196 ms
86,884 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

N=1<<int(input())
R=range(N)
for m in[[[[i%2+j*2,(58407>>(i%4*4+j%4))%2+(j-j%4+(3830337252>>(i%4*8+j%4*2))%4)*2][i//4==j//4]+N*(i-i%2)for j in R]for i in R],[[-1]]][N<3]:print(*m)
0