結果

問題 No.2087 基数の変換
ユーザー roarisroaris
提出日時 2022-09-30 21:22:13
言語 PyPy3
(7.3.15)
結果
WA  
実行時間 -
コード長 196 bytes
コンパイル時間 279 ms
コンパイル使用メモリ 87,120 KB
実行使用メモリ 71,944 KB
最終ジャッジ日時 2023-08-24 14:25:08
合計ジャッジ時間 6,919 ms
ジャッジサーバーID
(参考情報)
judge13 / judge11
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 93 ms
71,352 KB
testcase_01 AC 93 ms
71,672 KB
testcase_02 AC 93 ms
71,800 KB
testcase_03 AC 96 ms
71,804 KB
testcase_04 AC 95 ms
71,724 KB
testcase_05 WA -
testcase_06 WA -
testcase_07 AC 94 ms
71,600 KB
testcase_08 AC 93 ms
71,484 KB
testcase_09 AC 93 ms
71,620 KB
testcase_10 AC 91 ms
71,704 KB
testcase_11 AC 93 ms
71,520 KB
testcase_12 AC 92 ms
71,656 KB
testcase_13 AC 91 ms
71,592 KB
testcase_14 AC 93 ms
71,348 KB
testcase_15 AC 94 ms
71,604 KB
testcase_16 AC 93 ms
71,524 KB
testcase_17 AC 93 ms
71,660 KB
testcase_18 AC 93 ms
71,728 KB
testcase_19 AC 92 ms
71,836 KB
testcase_20 AC 94 ms
71,796 KB
testcase_21 AC 93 ms
71,688 KB
testcase_22 AC 92 ms
71,728 KB
testcase_23 AC 93 ms
71,632 KB
testcase_24 AC 93 ms
71,680 KB
testcase_25 AC 93 ms
71,348 KB
testcase_26 AC 94 ms
71,600 KB
testcase_27 AC 93 ms
71,696 KB
testcase_28 AC 93 ms
71,476 KB
testcase_29 AC 94 ms
71,448 KB
testcase_30 AC 95 ms
71,548 KB
testcase_31 AC 93 ms
71,764 KB
testcase_32 AC 92 ms
71,676 KB
testcase_33 AC 93 ms
71,756 KB
testcase_34 AC 94 ms
71,656 KB
testcase_35 AC 91 ms
71,556 KB
testcase_36 AC 92 ms
71,476 KB
testcase_37 AC 92 ms
71,476 KB
testcase_38 AC 93 ms
71,624 KB
testcase_39 AC 94 ms
71,860 KB
testcase_40 AC 92 ms
71,484 KB
testcase_41 AC 93 ms
71,520 KB
testcase_42 AC 99 ms
71,740 KB
testcase_43 AC 94 ms
71,660 KB
testcase_44 AC 95 ms
71,524 KB
testcase_45 AC 93 ms
71,944 KB
testcase_46 AC 93 ms
71,832 KB
testcase_47 AC 94 ms
71,488 KB
testcase_48 AC 92 ms
71,824 KB
testcase_49 AC 94 ms
71,672 KB
testcase_50 AC 96 ms
71,660 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import sys
input = sys.stdin.readline
from collections import *

N = int(input())
M = int(input())
l = []

while M:
    l.append(M%N)
    M //= N

l.reverse()
ans = ''.join(map(str, l))
print(ans)
0