結果

問題 No.499 7進数変換
ユーザー htensaihtensai
提出日時 2019-11-17 20:27:45
言語 Java21
(openjdk 21)
結果
AC  
実行時間 145 ms / 1,000 ms
コード長 218 bytes
コンパイル時間 2,180 ms
コンパイル使用メモリ 74,744 KB
実行使用メモリ 57,784 KB
最終ジャッジ日時 2023-10-25 21:24:08
合計ジャッジ時間 8,256 ms
ジャッジサーバーID
(参考情報)
judge13 / judge11
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 131 ms
57,360 KB
testcase_01 AC 139 ms
57,468 KB
testcase_02 AC 145 ms
57,492 KB
testcase_03 AC 130 ms
57,500 KB
testcase_04 AC 135 ms
57,576 KB
testcase_05 AC 130 ms
57,704 KB
testcase_06 AC 136 ms
57,636 KB
testcase_07 AC 138 ms
57,240 KB
testcase_08 AC 137 ms
57,756 KB
testcase_09 AC 136 ms
57,240 KB
testcase_10 AC 128 ms
57,416 KB
testcase_11 AC 130 ms
57,784 KB
testcase_12 AC 131 ms
57,484 KB
testcase_13 AC 135 ms
57,452 KB
testcase_14 AC 135 ms
57,656 KB
testcase_15 AC 137 ms
57,476 KB
testcase_16 AC 133 ms
57,508 KB
testcase_17 AC 138 ms
57,496 KB
testcase_18 AC 136 ms
57,560 KB
testcase_19 AC 130 ms
57,576 KB
testcase_20 AC 134 ms
57,492 KB
testcase_21 AC 131 ms
57,476 KB
testcase_22 AC 135 ms
57,692 KB
testcase_23 AC 133 ms
55,460 KB
testcase_24 AC 137 ms
57,552 KB
testcase_25 AC 133 ms
57,504 KB
testcase_26 AC 135 ms
57,632 KB
testcase_27 AC 133 ms
57,100 KB
testcase_28 AC 135 ms
57,252 KB
testcase_29 AC 133 ms
57,328 KB
testcase_30 AC 133 ms
57,704 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import java.util.*;

public class Main {
 	public static void main (String[] args) throws Exception {
		Scanner sc = new Scanner(System.in);
		int n = sc.nextInt();
		System.out.println(Integer.toString(n, 7));
	}
}


0