結果
問題 | No.1971 Easy Sudoku |
ユーザー | chineristAC |
提出日時 | 2022-06-10 21:37:19 |
言語 | PyPy3 (7.3.15) |
結果 |
AC
|
実行時間 | 59 ms / 2,000 ms |
コード長 | 372 bytes |
コンパイル時間 | 267 ms |
コンパイル使用メモリ | 81,752 KB |
実行使用メモリ | 68,664 KB |
最終ジャッジ日時 | 2023-10-21 04:56:47 |
合計ジャッジ時間 | 1,813 ms |
ジャッジサーバーID (参考情報) |
judge13 / judge11 |
テストケース
テストケース表示入力 | 結果 | 実行時間 実行使用メモリ |
---|---|---|
testcase_00 | AC | 43 ms
55,872 KB |
testcase_01 | AC | 54 ms
64,568 KB |
testcase_02 | AC | 55 ms
66,616 KB |
testcase_03 | AC | 54 ms
66,616 KB |
testcase_04 | AC | 55 ms
66,616 KB |
testcase_05 | AC | 51 ms
57,920 KB |
testcase_06 | AC | 45 ms
55,872 KB |
testcase_07 | AC | 55 ms
66,616 KB |
testcase_08 | AC | 50 ms
57,920 KB |
testcase_09 | AC | 55 ms
64,568 KB |
testcase_10 | AC | 59 ms
66,640 KB |
testcase_11 | AC | 45 ms
55,872 KB |
testcase_12 | AC | 46 ms
55,872 KB |
testcase_13 | AC | 57 ms
68,664 KB |
ソースコード
import sys,random,bisect from collections import deque,defaultdict,Counter from heapq import heapify,heappop,heappush from itertools import cycle, permutations from math import log,gcd input = lambda :sys.stdin.readline().rstrip() mi = lambda :map(int,input().split()) li = lambda :list(mi()) N = int(input()) for i in range(N): print(*[(i+j)%N+1 for j in range(N)])