結果

問題 No.1971 Easy Sudoku
ユーザー titan23titan23
提出日時 2022-06-24 03:01:54
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 73 ms / 2,000 ms
コード長 233 bytes
コンパイル時間 213 ms
コンパイル使用メモリ 82,432 KB
実行使用メモリ 61,824 KB
最終ジャッジ日時 2024-04-25 10:50:41
合計ジャッジ時間 1,775 ms
ジャッジサーバーID
(参考情報)
judge1 / judge3
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 44 ms
53,376 KB
testcase_01 AC 73 ms
60,544 KB
testcase_02 AC 45 ms
61,056 KB
testcase_03 AC 45 ms
60,928 KB
testcase_04 AC 45 ms
61,184 KB
testcase_05 AC 41 ms
53,888 KB
testcase_06 AC 42 ms
53,632 KB
testcase_07 AC 50 ms
61,824 KB
testcase_08 AC 42 ms
53,760 KB
testcase_09 AC 47 ms
60,544 KB
testcase_10 AC 46 ms
60,800 KB
testcase_11 AC 41 ms
53,760 KB
testcase_12 AC 40 ms
53,504 KB
testcase_13 AC 48 ms
61,824 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import sys
input = lambda: sys.stdin.readline().rstrip()
from collections import deque

#  -----------------------  #

n = int(input())
for i in range(n):
  q = deque(list(range(1, n+1)))
  q.rotate(i)
  print(' '.join(map(str, q)))
0