結果
| 問題 | No.2087 基数の変換 |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2022-09-30 21:28:20 |
| 言語 | Python3 (3.15.0 + numpy 2.5.4 + scipy 1.18.1 + ACL) |
| 結果 |
AC
不安定
|
| 実行時間 | 294 ms / 2,000 ms |
| + 458µs | |
| コード長 | 533 bytes |
| 記録 | |
| コンパイル時間 | 60 ms |
| コンパイル使用メモリ | 15,104 KB |
| 実行使用メモリ | 34,452 KB |
| 最終ジャッジ日時 | 2026-10-06 04:50:49 |
| 合計ジャッジ時間 | 17,611 ms |
|
ジャッジサーバーID (参考情報) |
judge2_1 / judge4_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 51 |
ソースコード
'''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)