結果

問題 No.2087 基数の変換
ユーザー viral8viral8
提出日時 2022-10-01 09:26:30
言語 Java21
(openjdk 21)
結果
AC  
実行時間 124 ms / 2,000 ms
コード長 245 bytes
コンパイル時間 1,944 ms
コンパイル使用メモリ 71,656 KB
実行使用メモリ 56,628 KB
最終ジャッジ日時 2023-08-25 02:05:52
合計ジャッジ時間 10,143 ms
ジャッジサーバーID
(参考情報)
judge12 / judge11
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 122 ms
55,808 KB
testcase_01 AC 124 ms
55,756 KB
testcase_02 AC 120 ms
55,924 KB
testcase_03 AC 122 ms
55,944 KB
testcase_04 AC 120 ms
56,176 KB
testcase_05 AC 124 ms
55,824 KB
testcase_06 AC 124 ms
56,032 KB
testcase_07 AC 115 ms
55,828 KB
testcase_08 AC 117 ms
56,156 KB
testcase_09 AC 121 ms
56,040 KB
testcase_10 AC 116 ms
55,940 KB
testcase_11 AC 115 ms
55,728 KB
testcase_12 AC 116 ms
56,260 KB
testcase_13 AC 114 ms
56,028 KB
testcase_14 AC 120 ms
56,260 KB
testcase_15 AC 118 ms
55,840 KB
testcase_16 AC 111 ms
56,020 KB
testcase_17 AC 113 ms
56,628 KB
testcase_18 AC 122 ms
55,792 KB
testcase_19 AC 124 ms
56,036 KB
testcase_20 AC 123 ms
54,344 KB
testcase_21 AC 123 ms
55,968 KB
testcase_22 AC 123 ms
56,080 KB
testcase_23 AC 123 ms
55,892 KB
testcase_24 AC 123 ms
55,756 KB
testcase_25 AC 120 ms
55,756 KB
testcase_26 AC 122 ms
55,980 KB
testcase_27 AC 119 ms
55,792 KB
testcase_28 AC 119 ms
55,832 KB
testcase_29 AC 119 ms
55,540 KB
testcase_30 AC 120 ms
55,748 KB
testcase_31 AC 122 ms
55,836 KB
testcase_32 AC 120 ms
55,784 KB
testcase_33 AC 121 ms
54,060 KB
testcase_34 AC 121 ms
56,060 KB
testcase_35 AC 122 ms
55,796 KB
testcase_36 AC 122 ms
55,792 KB
testcase_37 AC 122 ms
55,796 KB
testcase_38 AC 121 ms
56,456 KB
testcase_39 AC 124 ms
55,884 KB
testcase_40 AC 120 ms
55,748 KB
testcase_41 AC 121 ms
56,172 KB
testcase_42 AC 123 ms
56,216 KB
testcase_43 AC 122 ms
55,808 KB
testcase_44 AC 122 ms
55,564 KB
testcase_45 AC 124 ms
56,012 KB
testcase_46 AC 123 ms
55,760 KB
testcase_47 AC 119 ms
56,112 KB
testcase_48 AC 122 ms
55,536 KB
testcase_49 AC 123 ms
55,744 KB
testcase_50 AC 122 ms
56,148 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import java.util.Scanner;
class Main{
    public static void main(String[] args){
        Scanner sc = new Scanner(System.in);
        int N = sc.nextInt();
        int M = sc.nextInt();
        System.out.println(Integer.toString(M,N));
    }
}
0