結果
問題 | No.964 2020 |
ユーザー | simamumu |
提出日時 | 2020-01-13 20:23:03 |
言語 | Python3 (3.11.6 + numpy 1.26.0 + scipy 1.11.3) |
結果 |
AC
|
実行時間 | 32 ms / 2,020 ms |
コード長 | 474 bytes |
コンパイル時間 | 95 ms |
コンパイル使用メモリ | 11,000 KB |
実行使用メモリ | 9,960 KB |
最終ジャッジ日時 | 2023-08-23 12:49:15 |
合計ジャッジ時間 | 1,629 ms |
ジャッジサーバーID (参考情報) |
judge15 / judge13 |
テストケース
テストケース表示入力 | 結果 | 実行時間 実行使用メモリ |
---|---|---|
testcase_00 | AC | 32 ms
9,912 KB |
testcase_01 | AC | 32 ms
9,944 KB |
testcase_02 | AC | 32 ms
9,892 KB |
testcase_03 | AC | 31 ms
9,960 KB |
testcase_04 | AC | 31 ms
9,872 KB |
testcase_05 | AC | 32 ms
9,948 KB |
testcase_06 | AC | 32 ms
9,892 KB |
testcase_07 | AC | 32 ms
9,896 KB |
testcase_08 | AC | 32 ms
9,948 KB |
testcase_09 | AC | 32 ms
9,948 KB |
ソースコード
from collections import defaultdict,deque import sys,heapq,bisect,math,itertools,string,queue,copy,time sys.setrecursionlimit(10**8) INF = float('inf') mod = 10**9+7 eps = 10**-7 def inp(): return int(sys.stdin.readline()) def inpl(): return list(map(int, sys.stdin.readline().split())) def inpl_str(): return list(sys.stdin.readline().split()) N = int(input()) if N == 1: print(1) sys.exit() ans = "" for i in reversed(range(N)): ans += str(i)*N print(ans)