結果

問題 No.2246 1333-like Number
ユーザー Mottchan
提出日時 2023-03-17 22:11:13
言語 Python3
(3.13.1 + numpy 2.2.1 + scipy 1.14.1)
結果
TLE  
実行時間 -
コード長 206 bytes
コンパイル時間 337 ms
コンパイル使用メモリ 12,672 KB
実行使用メモリ 16,128 KB
最終ジャッジ日時 2024-09-18 11:15:49
合計ジャッジ時間 4,027 ms
ジャッジサーバーID
(参考情報)
judge2 / judge4
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
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