結果

問題 No.2087 基数の変換
ユーザー Navier_BoltzmannNavier_Boltzmann
提出日時 2022-09-30 21:28:20
言語 PyPy3
(7.3.15)
結果
WA  
実行時間 -
コード長 295 bytes
コンパイル時間 270 ms
コンパイル使用メモリ 87,164 KB
実行使用メモリ 73,096 KB
最終ジャッジ日時 2023-08-24 14:43:30
合計ジャッジ時間 7,541 ms
ジャッジサーバーID
(参考情報)
judge12 / judge11
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 104 ms
72,600 KB
testcase_01 AC 105 ms
72,796 KB
testcase_02 AC 105 ms
72,448 KB
testcase_03 AC 104 ms
72,652 KB
testcase_04 AC 107 ms
72,592 KB
testcase_05 WA -
testcase_06 WA -
testcase_07 AC 106 ms
72,956 KB
testcase_08 AC 106 ms
72,836 KB
testcase_09 AC 106 ms
72,864 KB
testcase_10 AC 107 ms
72,608 KB
testcase_11 AC 106 ms
72,804 KB
testcase_12 AC 104 ms
72,648 KB
testcase_13 AC 106 ms
72,732 KB
testcase_14 AC 106 ms
72,748 KB
testcase_15 AC 104 ms
72,488 KB
testcase_16 AC 105 ms
72,728 KB
testcase_17 AC 104 ms
72,416 KB
testcase_18 AC 104 ms
72,584 KB
testcase_19 AC 106 ms
72,828 KB
testcase_20 AC 105 ms
72,504 KB
testcase_21 AC 108 ms
72,632 KB
testcase_22 AC 111 ms
72,588 KB
testcase_23 AC 108 ms
72,516 KB
testcase_24 AC 107 ms
72,932 KB
testcase_25 AC 107 ms
72,500 KB
testcase_26 AC 105 ms
72,452 KB
testcase_27 AC 105 ms
72,796 KB
testcase_28 AC 106 ms
72,620 KB
testcase_29 AC 106 ms
72,588 KB
testcase_30 AC 105 ms
72,628 KB
testcase_31 AC 106 ms
72,584 KB
testcase_32 AC 106 ms
72,640 KB
testcase_33 AC 108 ms
72,696 KB
testcase_34 AC 106 ms
72,500 KB
testcase_35 AC 106 ms
72,860 KB
testcase_36 AC 106 ms
72,504 KB
testcase_37 AC 107 ms
72,808 KB
testcase_38 AC 105 ms
72,552 KB
testcase_39 AC 105 ms
72,936 KB
testcase_40 AC 107 ms
72,520 KB
testcase_41 AC 106 ms
72,640 KB
testcase_42 AC 104 ms
72,508 KB
testcase_43 AC 106 ms
72,624 KB
testcase_44 AC 105 ms
72,700 KB
testcase_45 AC 106 ms
72,484 KB
testcase_46 AC 106 ms
72,524 KB
testcase_47 AC 105 ms
72,652 KB
testcase_48 AC 107 ms
72,728 KB
testcase_49 AC 106 ms
72,808 KB
testcase_50 AC 104 ms
72,620 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

from collections import *
from itertools import *
from functools import *
from heapq import *
import sys,math
input = sys.stdin.readline

N = int(input())
M = int(input())
res = M
b = N
tmp = []
while res>0:
    t = res%b
    tmp.append(str(t))
    res = res//b
tmp.reverse()
print(''.join(tmp))
0