結果

問題 No.2246 1333-like Number
ユーザー titiatitia
提出日時 2023-03-17 21:28:54
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
AC  
実行時間 58 ms / 2,000 ms
コード長 245 bytes
コンパイル時間 616 ms
コンパイル使用メモリ 11,800 KB
実行使用メモリ 10,132 KB
最終ジャッジ日時 2023-10-18 13:57:09
合計ジャッジ時間 2,085 ms
ジャッジサーバーID
(参考情報)
judge14 / judge15
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 30 ms
10,016 KB
testcase_01 AC 29 ms
10,016 KB
testcase_02 AC 29 ms
10,016 KB
testcase_03 AC 29 ms
10,016 KB
testcase_04 AC 58 ms
10,132 KB
testcase_05 AC 43 ms
10,092 KB
testcase_06 AC 46 ms
10,100 KB
testcase_07 AC 49 ms
10,108 KB
testcase_08 AC 33 ms
10,052 KB
testcase_09 AC 43 ms
10,092 KB
testcase_10 AC 33 ms
10,048 KB
testcase_11 AC 41 ms
10,088 KB
testcase_12 AC 30 ms
10,028 KB
testcase_13 AC 32 ms
10,040 KB
testcase_14 AC 34 ms
10,056 KB
testcase_15 AC 33 ms
10,056 KB
testcase_16 AC 38 ms
10,076 KB
testcase_17 AC 49 ms
10,108 KB
testcase_18 AC 31 ms
10,040 KB
testcase_19 AC 31 ms
10,048 KB
testcase_20 AC 56 ms
10,124 KB
testcase_21 AC 45 ms
10,100 KB
testcase_22 AC 38 ms
10,080 KB
testcase_23 AC 57 ms
10,128 KB
testcase_24 AC 53 ms
10,120 KB
testcase_25 AC 29 ms
10,016 KB
testcase_26 AC 58 ms
10,132 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import sys
input = sys.stdin.readline

N=int(input())

X=[]

for i in range(1,10):
    for j in range(i+1,10):
        X.append(i*10+j)


k=N//36
l=N%36

ANS=str(X[l-1])

for i in range(k):
    ANS+=ANS[-1]

if l==0:
    ANS=ANS[:-1]
print(ANS)
0