結果
問題 |
No.964 2020
|
ユーザー |
|
提出日時 | 2020-04-16 15:09:48 |
言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
結果 |
AC
|
実行時間 | 27 ms / 2,020 ms |
コード長 | 435 bytes |
コンパイル時間 | 79 ms |
コンパイル使用メモリ | 12,544 KB |
実行使用メモリ | 10,880 KB |
最終ジャッジ日時 | 2024-10-01 19:17:54 |
合計ジャッジ時間 | 932 ms |
ジャッジサーバーID (参考情報) |
judge1 / judge5 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 2 |
other | AC * 8 |
ソースコード
INF = 10 ** 20 import sys input = sys.stdin.readline sys.setrecursionlimit(100000000) dy = (-1,0,1,0) dx = (0,1,0,-1) from heapq import heappop,heapify,heappush from bisect import bisect_left def main(): n = int(input()) if n == 1: print(1) return ans = '' num = list('0123456789') for i in range(n - 1,-1,-1): ans += num[i] * n print(ans) if __name__ == '__main__': main()