結果
問題 | No.2212 One XOR Matrix |
ユーザー |
![]() |
提出日時 | 2025-06-12 19:51:05 |
言語 | PyPy3 (7.3.15) |
結果 |
WA
|
実行時間 | - |
コード長 | 358 bytes |
コンパイル時間 | 179 ms |
コンパイル使用メモリ | 82,528 KB |
実行使用メモリ | 53,996 KB |
最終ジャッジ日時 | 2025-06-12 19:51:10 |
合計ジャッジ時間 | 1,884 ms |
ジャッジサーバーID (参考情報) |
judge4 / judge2 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 2 |
other | WA * 8 |
ソースコード
def main(): import sys N = int(sys.stdin.readline().strip()) if N != 2: print(-1) return # The matrix for N=2 matrix = [ [7, 14, 0, 8], [4, 12, 2, 11], [15, 9, 6, 1], [13, 10, 5, 3] ] for row in matrix: print(' '.join(map(str, row))) if __name__ == "__main__": main()