結果
問題 |
No.1169 Row and Column and Diagonal
|
ユーザー |
|
提出日時 | 2020-12-29 22:31:47 |
言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
結果 |
AC
|
実行時間 | 135 ms / 2,000 ms |
コード長 | 129 bytes |
コンパイル時間 | 73 ms |
コンパイル使用メモリ | 12,544 KB |
実行使用メモリ | 13,416 KB |
最終ジャッジ日時 | 2024-10-06 05:26:35 |
合計ジャッジ時間 | 2,226 ms |
ジャッジサーバーID (参考情報) |
judge4 / judge2 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 2 |
other | AC * 13 |
ソースコード
n=int(input()) s=[0]*n a='' for i in range(n): s[(i*2)%n]=str(i+1) for i in range(n): a+=' '.join(s[i:]+s[:i])+'\n' print(a[:-1])