結果
問題 | No.2087 基数の変換 |
ユーザー |
|
提出日時 | 2022-09-30 21:28:20 |
言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
結果 |
AC
|
実行時間 | 554 ms / 2,000 ms |
コード長 | 533 bytes |
コンパイル時間 | 88 ms |
コンパイル使用メモリ | 12,288 KB |
実行使用メモリ | 44,372 KB |
最終ジャッジ日時 | 2024-12-22 22:22:10 |
合計ジャッジ時間 | 28,679 ms |
ジャッジサーバーID (参考情報) |
judge3 / judge5 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 51 |
ソースコード
'''input'''import sysimport mathfrom bisect import bisect_right, bisect_leftfrom itertools import *from collections import *from heapq import heapify, heappush, heappopimport randominf = float('inf')# mod = 1000000007# mod = 998244353input = 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)