結果

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

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 137 ms
77,292 KB
testcase_01 AC 133 ms
77,268 KB
testcase_02 AC 131 ms
76,924 KB
testcase_03 AC 132 ms
76,880 KB
testcase_04 AC 133 ms
76,984 KB
testcase_05 WA -
testcase_06 WA -
testcase_07 AC 133 ms
76,824 KB
testcase_08 AC 132 ms
76,816 KB
testcase_09 AC 131 ms
76,672 KB
testcase_10 AC 141 ms
77,272 KB
testcase_11 AC 133 ms
77,044 KB
testcase_12 AC 131 ms
76,748 KB
testcase_13 AC 132 ms
76,736 KB
testcase_14 AC 131 ms
76,956 KB
testcase_15 AC 131 ms
76,612 KB
testcase_16 AC 131 ms
77,152 KB
testcase_17 AC 130 ms
77,112 KB
testcase_18 AC 129 ms
76,880 KB
testcase_19 AC 129 ms
76,980 KB
testcase_20 AC 130 ms
76,716 KB
testcase_21 AC 131 ms
77,168 KB
testcase_22 AC 130 ms
76,672 KB
testcase_23 AC 130 ms
77,156 KB
testcase_24 AC 131 ms
77,148 KB
testcase_25 AC 130 ms
77,224 KB
testcase_26 AC 129 ms
76,784 KB
testcase_27 AC 132 ms
76,864 KB
testcase_28 AC 138 ms
76,752 KB
testcase_29 AC 130 ms
76,716 KB
testcase_30 AC 128 ms
76,808 KB
testcase_31 AC 130 ms
77,128 KB
testcase_32 AC 130 ms
76,960 KB
testcase_33 AC 135 ms
77,144 KB
testcase_34 AC 131 ms
76,884 KB
testcase_35 AC 130 ms
76,980 KB
testcase_36 AC 139 ms
76,732 KB
testcase_37 AC 131 ms
77,064 KB
testcase_38 AC 131 ms
76,952 KB
testcase_39 AC 132 ms
77,064 KB
testcase_40 AC 130 ms
76,636 KB
testcase_41 AC 131 ms
77,012 KB
testcase_42 AC 132 ms
77,004 KB
testcase_43 AC 132 ms
76,880 KB
testcase_44 AC 133 ms
77,016 KB
testcase_45 AC 130 ms
76,952 KB
testcase_46 AC 133 ms
76,696 KB
testcase_47 AC 133 ms
77,112 KB
testcase_48 AC 140 ms
76,608 KB
testcase_49 AC 140 ms
77,096 KB
testcase_50 AC 139 ms
76,796 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