結果

問題 No.2087 基数の変換
ユーザー DrDrpilotDrDrpilot
提出日時 2022-10-07 17:21:25
言語 PyPy3
(7.3.15)
結果
WA  
実行時間 -
コード長 768 bytes
コンパイル時間 373 ms
コンパイル使用メモリ 86,948 KB
実行使用メモリ 77,292 KB
最終ジャッジ日時 2023-09-02 17:54:38
合計ジャッジ時間 10,511 ms
ジャッジサーバーID
(参考情報)
judge14 / judge13
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 132 ms
76,924 KB
testcase_01 AC 138 ms
77,028 KB
testcase_02 AC 143 ms
77,064 KB
testcase_03 AC 139 ms
77,128 KB
testcase_04 AC 140 ms
77,108 KB
testcase_05 WA -
testcase_06 WA -
testcase_07 AC 133 ms
77,144 KB
testcase_08 AC 136 ms
77,144 KB
testcase_09 AC 134 ms
76,720 KB
testcase_10 AC 133 ms
76,900 KB
testcase_11 AC 132 ms
76,760 KB
testcase_12 AC 130 ms
77,128 KB
testcase_13 AC 135 ms
76,892 KB
testcase_14 AC 136 ms
76,720 KB
testcase_15 AC 134 ms
77,292 KB
testcase_16 AC 136 ms
77,128 KB
testcase_17 AC 135 ms
76,728 KB
testcase_18 AC 135 ms
77,124 KB
testcase_19 AC 137 ms
77,052 KB
testcase_20 AC 134 ms
77,040 KB
testcase_21 AC 138 ms
77,044 KB
testcase_22 AC 140 ms
76,984 KB
testcase_23 AC 139 ms
77,024 KB
testcase_24 AC 140 ms
76,724 KB
testcase_25 AC 139 ms
76,724 KB
testcase_26 AC 137 ms
76,724 KB
testcase_27 AC 139 ms
77,116 KB
testcase_28 AC 137 ms
76,720 KB
testcase_29 AC 139 ms
76,812 KB
testcase_30 AC 142 ms
76,956 KB
testcase_31 AC 139 ms
77,176 KB
testcase_32 AC 138 ms
77,040 KB
testcase_33 AC 135 ms
76,888 KB
testcase_34 AC 136 ms
76,764 KB
testcase_35 AC 136 ms
77,076 KB
testcase_36 AC 136 ms
77,144 KB
testcase_37 AC 140 ms
76,760 KB
testcase_38 AC 135 ms
76,836 KB
testcase_39 AC 136 ms
76,984 KB
testcase_40 AC 136 ms
77,128 KB
testcase_41 AC 131 ms
77,052 KB
testcase_42 AC 135 ms
76,752 KB
testcase_43 AC 136 ms
76,828 KB
testcase_44 AC 137 ms
76,860 KB
testcase_45 AC 134 ms
77,140 KB
testcase_46 AC 136 ms
77,048 KB
testcase_47 AC 134 ms
77,060 KB
testcase_48 AC 134 ms
76,816 KB
testcase_49 AC 135 ms
77,080 KB
testcase_50 AC 138 ms
77,044 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

def I():return int(input())
def MAP():return map(int,input().split())
def MAPs():return map(str,input().split())
def LI(): return list(map(int,input().split()))
def TPL(): return tuple(map(int,input().split()))
def S():return input()
from collections import defaultdict,Counter,deque
from copy import deepcopy
from heapq import heapify,heappop,heappush
from bisect import bisect_left,bisect_right
from itertools import accumulate,product,permutations,combinations,combinations_with_replacement
from math import gcd,ceil,floor,factorial,sqrt,pi,sin,cos,tan,radians,exp
import time
import random
inf=float('inf');mod=998244353;Mod=10**9+7
#move=[(1,0),(0,1),(-1,0),(0,-1)]

n=I()
m=I()
ans=[]
while m:
    ans.append(str(m%n))
    m//=n
ans=ans[::-1]
print(''.join(ans))
0