結果
| 問題 | No.2087 基数の変換 |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2022-09-30 21:28:20 |
| 言語 | PyPy3 (7.3.17) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 295 bytes |
| 記録 | |
| コンパイル時間 | 224 ms |
| コンパイル使用メモリ | 85,504 KB |
| 実行使用メモリ | 55,552 KB |
| 最終ジャッジ日時 | 2026-05-29 01:34:21 |
| 合計ジャッジ時間 | 3,734 ms |
|
ジャッジサーバーID (参考情報) |
judge2_0 / judge1_1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 49 WA * 2 |
ソースコード
from collections import *
from itertools import *
from functools import *
from heapq import *
import sys,math
input = sys.stdin.readline
N = int(input())
M = int(input())
res = M
b = N
tmp = []
while res>0:
t = res%b
tmp.append(str(t))
res = res//b
tmp.reverse()
print(''.join(tmp))