結果
問題 | No.1169 Row and Column and Diagonal |
ユーザー | irumo8202 |
提出日時 | 2022-01-29 23:26:02 |
言語 | PyPy3 (7.3.15) |
結果 |
AC
|
実行時間 | 78 ms / 2,000 ms |
コード長 | 151 bytes |
コンパイル時間 | 298 ms |
コンパイル使用メモリ | 82,388 KB |
実行使用メモリ | 76,728 KB |
最終ジャッジ日時 | 2025-01-02 22:35:18 |
合計ジャッジ時間 | 2,961 ms |
ジャッジサーバーID (参考情報) |
judge4 / judge3 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 2 |
other | AC * 13 |
ソースコード
N = int(input()) for i in range(1, N + 1): for j in range(1, N + 1): v = (2 * i - j) % N print(v if v else N, end=" ") print()