結果
| 問題 | No.1169 Row and Column and Diagonal |
| コンテスト | |
| ユーザー |
rlangevin
|
| 提出日時 | 2023-01-02 12:59:44 |
| 言語 | PyPy3 (7.3.15) |
| 結果 |
AC
|
| 実行時間 | 87 ms / 2,000 ms |
| コード長 | 184 bytes |
| コンパイル時間 | 381 ms |
| コンパイル使用メモリ | 82,844 KB |
| 実行使用メモリ | 76,332 KB |
| 最終ジャッジ日時 | 2024-11-27 00:42:27 |
| 合計ジャッジ時間 | 2,592 ms |
|
ジャッジサーバーID (参考情報) |
judge3 / judge5 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 2 |
| other | AC * 13 |
ソースコード
def f(x):
if x == 0:
return N
return x
N = int(input())
for i in range(N):
L = [(2 * (i + 1) - j)%N for j in range(1, N + 1)]
L = list(map(f, L))
print(*L)
rlangevin