結果

問題 No.2212 One XOR Matrix
ユーザー gew1fw
提出日時 2025-06-12 17:57:54
言語 PyPy3
(7.3.15)
結果
WA  
実行時間 -
コード長 340 bytes
コンパイル時間 516 ms
コンパイル使用メモリ 82,304 KB
実行使用メモリ 51,968 KB
最終ジャッジ日時 2025-06-12 17:57:58
合計ジャッジ時間 3,055 ms
ジャッジサーバーID
(参考情報)
judge1 / judge4
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 2
other WA * 8
権限があれば一括ダウンロードができます

ソースコード

diff #

n = int(input())
if n % 2 != 0:
    print(-1)
else:
    if n == 2:
        print("7 14 0 8")
        print("4 12 2 11")
        print("15 9 6 1")
        print("13 10 5 3")
    else:
        # For even N > 2, the construction is non-trivial and not provided here.
        # This example handles only N=2 as per the sample.
        print(-1)
0