結果

問題 No.499 7進数変換
ユーザー matsuyoshi30matsuyoshi30
提出日時 2018-10-01 23:02:27
言語 Java21
(openjdk 21)
結果
AC  
実行時間 134 ms / 1,000 ms
コード長 267 bytes
コンパイル時間 2,068 ms
コンパイル使用メモリ 74,052 KB
実行使用メモリ 54,496 KB
最終ジャッジ日時 2024-04-20 14:24:07
合計ジャッジ時間 6,989 ms
ジャッジサーバーID
(参考情報)
judge4 / judge1
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 125 ms
54,068 KB
testcase_01 AC 129 ms
54,160 KB
testcase_02 AC 126 ms
54,036 KB
testcase_03 AC 130 ms
54,172 KB
testcase_04 AC 127 ms
54,304 KB
testcase_05 AC 125 ms
54,260 KB
testcase_06 AC 128 ms
54,228 KB
testcase_07 AC 125 ms
54,152 KB
testcase_08 AC 128 ms
54,032 KB
testcase_09 AC 124 ms
54,076 KB
testcase_10 AC 125 ms
53,908 KB
testcase_11 AC 130 ms
54,072 KB
testcase_12 AC 125 ms
54,328 KB
testcase_13 AC 123 ms
54,208 KB
testcase_14 AC 126 ms
53,876 KB
testcase_15 AC 134 ms
54,208 KB
testcase_16 AC 122 ms
54,344 KB
testcase_17 AC 123 ms
54,064 KB
testcase_18 AC 129 ms
54,164 KB
testcase_19 AC 124 ms
54,064 KB
testcase_20 AC 129 ms
54,496 KB
testcase_21 AC 126 ms
54,428 KB
testcase_22 AC 133 ms
54,048 KB
testcase_23 AC 128 ms
54,312 KB
testcase_24 AC 124 ms
53,940 KB
testcase_25 AC 125 ms
54,024 KB
testcase_26 AC 115 ms
53,096 KB
testcase_27 AC 126 ms
53,936 KB
testcase_28 AC 110 ms
52,728 KB
testcase_29 AC 126 ms
54,020 KB
testcase_30 AC 123 ms
54,200 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import java.util.*;

class Main {
    public static void main(String[] args) {
        Scanner in = new Scanner(System.in);
        int input = in.nextInt();
        int n = 7;

        String ans = Integer.toString(input, n);
        System.out.println(ans);
    }
}
0