結果

問題 No.2246 1333-like Number
ユーザー Mottchan
提出日時 2023-03-17 22:12:47
言語 PyPy3
(7.3.15)
結果
TLE  
実行時間 -
コード長 206 bytes
コンパイル時間 261 ms
コンパイル使用メモリ 82,388 KB
実行使用メモリ 85,012 KB
最終ジャッジ日時 2024-09-18 11:17:28
合計ジャッジ時間 3,870 ms
ジャッジサーバーID
(参考情報)
judge4 / judge5
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other AC * 1 TLE * 1 -- * 22
権限があれば一括ダウンロードができます

ソースコード

diff #

n = int(input())
ans = [[i,j] for i in range(1,9) for j in range(2,10) if i < j]
syou = n//36
amari = n%36
a=1
for i in range(1,syou+1):
  a += 10**i

print(10**(syou+1)*ans[amari-1][0] + a*ans[amari-1][1])
0