結果
| 問題 |
No.2212 One XOR Matrix
|
| コンテスト | |
| ユーザー |
lam6er
|
| 提出日時 | 2025-04-16 00:22:33 |
| 言語 | PyPy3 (7.3.15) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 378 bytes |
| コンパイル時間 | 274 ms |
| コンパイル使用メモリ | 81,724 KB |
| 実行使用メモリ | 53,464 KB |
| 最終ジャッジ日時 | 2025-04-16 00:23:57 |
| 合計ジャッジ時間 | 1,958 ms |
|
ジャッジサーバーID (参考情報) |
judge5 / judge4 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 2 |
| other | WA * 8 |
ソースコード
n = int(input())
if n == 1:
print(-1)
elif n == 2:
print("7 14 0 8")
print("4 12 2 11")
print("15 9 6 1")
print("13 10 5 3")
else:
# For larger even N, a generalized construction is needed, but here we handle N=2 as per the sample.
# For other even N, a recursive or structured approach would be required, which is not implemented here.
print(-1)
lam6er