結果
| 問題 | No.2246 1333-like Number | 
| コンテスト | |
| ユーザー |  | 
| 提出日時 | 2023-03-17 22:46:50 | 
| 言語 | PyPy3 (7.3.15) | 
| 結果 | 
                                AC
                                 
                             | 
| 実行時間 | 40 ms / 2,000 ms | 
| コード長 | 186 bytes | 
| コンパイル時間 | 188 ms | 
| コンパイル使用メモリ | 82,376 KB | 
| 実行使用メモリ | 53,628 KB | 
| 最終ジャッジ日時 | 2024-09-18 11:56:31 | 
| 合計ジャッジ時間 | 2,127 ms | 
| ジャッジサーバーID (参考情報) | judge4 / judge5 | 
(要ログイン)
| ファイルパターン | 結果 | 
|---|---|
| sample | AC * 3 | 
| other | AC * 24 | 
ソースコード
n = int(input())
n -= 1
base = []
for i in range(1,10):
    for j in range(i+1,10):
        base.append(10*i+j)
x,y = divmod(n,len(base))
ans = str(base[y])+str(base[y]%10)*x
print(ans)
            
            
            
        