結果

問題 No.964 2020
ユーザー yuzu32utyuzu32ut
提出日時 2022-10-06 09:19:47
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
AC  
実行時間 16 ms / 2,020 ms
コード長 146 bytes
コンパイル時間 610 ms
コンパイル使用メモリ 10,600 KB
実行使用メモリ 8,220 KB
最終ジャッジ日時 2023-08-30 21:12:49
合計ジャッジ時間 1,905 ms
ジャッジサーバーID
(参考情報)
judge14 / judge11
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 16 ms
8,172 KB
testcase_01 AC 15 ms
8,096 KB
testcase_02 AC 16 ms
8,088 KB
testcase_03 AC 16 ms
8,096 KB
testcase_04 AC 16 ms
8,208 KB
testcase_05 AC 15 ms
8,036 KB
testcase_06 AC 16 ms
8,220 KB
testcase_07 AC 15 ms
8,096 KB
testcase_08 AC 15 ms
8,100 KB
testcase_09 AC 16 ms
8,104 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import itertools as it
n = int(input())
v = it.chain.from_iterable(it.repeat(x, n) for x in range(9, 9 - n, -1))
print(''.join(str(x) for x in v))
0