結果

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

ソースコード

diff #

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()
0