結果

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

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 71 ms
70,844 KB
testcase_01 AC 72 ms
71,252 KB
testcase_02 AC 72 ms
71,124 KB
testcase_03 AC 74 ms
71,016 KB
testcase_04 AC 78 ms
74,976 KB
testcase_05 AC 93 ms
76,500 KB
testcase_06 AC 91 ms
76,460 KB
testcase_07 AC 101 ms
77,812 KB
testcase_08 AC 128 ms
79,280 KB
testcase_09 AC 213 ms
86,944 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

N=2<<int(input())
R=range(N//2)
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//2)for j in R]for i in R],[[-1]]][N<5]:print(*m)
0