結果
| 問題 | 
                            No.2087 基数の変換
                             | 
                    
| コンテスト | |
| ユーザー | 
                            👑  SPD_9X2
                         | 
                    
| 提出日時 | 2022-09-30 21:23:25 | 
| 言語 | PyPy3  (7.3.15)  | 
                    
| 結果 | 
                             
                                WA
                                 
                             
                            
                         | 
                    
| 実行時間 | - | 
| コード長 | 137 bytes | 
| コンパイル時間 | 211 ms | 
| コンパイル使用メモリ | 82,384 KB | 
| 実行使用メモリ | 53,716 KB | 
| 最終ジャッジ日時 | 2024-12-22 22:03:19 | 
| 合計ジャッジ時間 | 3,638 ms | 
| 
                            ジャッジサーバーID (参考情報)  | 
                        judge5 / judge3 | 
(要ログイン)
| ファイルパターン | 結果 | 
|---|---|
| other | AC * 49 WA * 2 | 
ソースコード
N = int(input())
M = int(input())
ans = []
while M > 0:
    ans.append( M % N )
    M //= N
ans.reverse()
print ("".join(map(str,ans)))
            
            
            
        
            
SPD_9X2