結果
| 問題 | No.2865 Base 10 Subsets 2 |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2024-08-30 21:43:44 |
| 言語 | PyPy3 (7.3.23 + ACL) |
| 結果 |
RE
不安定
|
| 実行時間 | - |
| コード長 | 241 bytes |
| 記録 | |
| コンパイル時間 | 233 ms |
| コンパイル使用メモリ | 96,116 KB |
| 実行使用メモリ | 94,208 KB |
| 最終ジャッジ日時 | 2026-08-25 09:30:36 |
| 合計ジャッジ時間 | 3,937 ms |
|
ジャッジサーバーID (参考情報) |
judge3_0 / judge1_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | RE * 3 |
| other | RE * 12 |
ソースコード
N,K=list(map(int,input.split())) N=str(N) M=[] ans=[] for i in range(len(N)): M.append(int(N[i])+1) for i in range(len(N)): cnt=1 for j in range(i+1,len(N)): cnt*=M[j] ans.append(str(K//cnt)) K=K%cnt ans="".join(ans) print(int(ans))