結果

問題 No.1971 Easy Sudoku
ユーザー titan23
提出日時 2022-06-24 03:01:54
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 53 ms / 2,000 ms
コード長 233 bytes
コンパイル時間 330 ms
コンパイル使用メモリ 82,176 KB
実行使用メモリ 61,952 KB
最終ジャッジ日時 2024-11-07 21:32:32
合計ジャッジ時間 1,990 ms
ジャッジサーバーID
(参考情報)
judge3 / judge5
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 1
other AC * 13
権限があれば一括ダウンロードができます

ソースコード

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