結果

問題 No.2087 基数の変換
ユーザー titan23titan23
提出日時 2022-09-30 21:28:20
言語 Python3
(3.11.6 + numpy 1.26.0 + scipy 1.11.3)
結果
AC  
実行時間 137 ms / 2,000 ms
コード長 533 bytes
コンパイル時間 98 ms
コンパイル使用メモリ 10,752 KB
実行使用メモリ 29,776 KB
最終ジャッジ日時 2023-08-24 14:43:48
合計ジャッジ時間 11,451 ms
ジャッジサーバーID
(参考情報)
judge11 / judge13
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 131 ms
29,696 KB
testcase_01 AC 128 ms
29,576 KB
testcase_02 AC 128 ms
29,604 KB
testcase_03 AC 128 ms
29,632 KB
testcase_04 AC 129 ms
29,548 KB
testcase_05 AC 128 ms
29,516 KB
testcase_06 AC 129 ms
29,628 KB
testcase_07 AC 128 ms
29,616 KB
testcase_08 AC 130 ms
29,572 KB
testcase_09 AC 129 ms
29,732 KB
testcase_10 AC 130 ms
29,536 KB
testcase_11 AC 132 ms
29,664 KB
testcase_12 AC 132 ms
29,664 KB
testcase_13 AC 131 ms
29,692 KB
testcase_14 AC 131 ms
29,628 KB
testcase_15 AC 134 ms
29,620 KB
testcase_16 AC 130 ms
29,640 KB
testcase_17 AC 130 ms
29,616 KB
testcase_18 AC 130 ms
29,568 KB
testcase_19 AC 129 ms
29,540 KB
testcase_20 AC 130 ms
29,548 KB
testcase_21 AC 130 ms
29,588 KB
testcase_22 AC 129 ms
29,588 KB
testcase_23 AC 129 ms
29,536 KB
testcase_24 AC 129 ms
29,704 KB
testcase_25 AC 129 ms
29,644 KB
testcase_26 AC 130 ms
29,536 KB
testcase_27 AC 128 ms
29,572 KB
testcase_28 AC 129 ms
29,752 KB
testcase_29 AC 130 ms
29,504 KB
testcase_30 AC 129 ms
29,656 KB
testcase_31 AC 131 ms
29,636 KB
testcase_32 AC 130 ms
29,752 KB
testcase_33 AC 127 ms
29,520 KB
testcase_34 AC 129 ms
29,724 KB
testcase_35 AC 131 ms
29,468 KB
testcase_36 AC 135 ms
29,624 KB
testcase_37 AC 133 ms
29,548 KB
testcase_38 AC 137 ms
29,608 KB
testcase_39 AC 132 ms
29,736 KB
testcase_40 AC 133 ms
29,676 KB
testcase_41 AC 133 ms
29,612 KB
testcase_42 AC 128 ms
29,720 KB
testcase_43 AC 130 ms
29,584 KB
testcase_44 AC 130 ms
29,628 KB
testcase_45 AC 130 ms
29,496 KB
testcase_46 AC 132 ms
29,640 KB
testcase_47 AC 130 ms
29,652 KB
testcase_48 AC 128 ms
29,620 KB
testcase_49 AC 131 ms
29,544 KB
testcase_50 AC 132 ms
29,776 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

'''input

'''
import sys
import math
from bisect import bisect_right, bisect_left
from itertools import *
from collections import *
from heapq import heapify, heappush, heappop
import random
inf = float('inf')
# mod = 1000000007
# mod = 998244353
input = lambda: sys.stdin.readline().rstrip()
def error(*args, sep=' ', end='\n'):
  print(*args, sep=sep, end=end, file=sys.stderr)
# sys.setrecursionlimit(10**6)
import numpy as np

#  -----------------------  #

n = int(input())
m = int(input())

ans = np.base_repr(m, n)
print(ans)
0