結果

問題 No.964 2020
ユーザー hedwig100hedwig100
提出日時 2020-04-16 15:09:48
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
AC  
実行時間 30 ms / 2,020 ms
コード長 435 bytes
コンパイル時間 77 ms
コンパイル使用メモリ 12,800 KB
実行使用メモリ 10,752 KB
最終ジャッジ日時 2024-04-09 19:11:58
合計ジャッジ時間 1,065 ms
ジャッジサーバーID
(参考情報)
judge4 / judge2
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 27 ms
10,752 KB
testcase_01 AC 28 ms
10,752 KB
testcase_02 AC 28 ms
10,752 KB
testcase_03 AC 28 ms
10,624 KB
testcase_04 AC 30 ms
10,752 KB
testcase_05 AC 27 ms
10,752 KB
testcase_06 AC 28 ms
10,752 KB
testcase_07 AC 27 ms
10,752 KB
testcase_08 AC 27 ms
10,752 KB
testcase_09 AC 27 ms
10,752 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

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()
0