結果

問題 No.499 7進数変換
ユーザー yagi2yagi2
提出日時 2017-04-14 10:18:11
言語 Java21
(openjdk 21)
結果
WA  
実行時間 -
コード長 242 bytes
コンパイル時間 2,884 ms
コンパイル使用メモリ 71,632 KB
実行使用メモリ 57,888 KB
最終ジャッジ日時 2023-09-25 19:13:55
合計ジャッジ時間 8,276 ms
ジャッジサーバーID
(参考情報)
judge13 / judge11
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 117 ms
55,660 KB
testcase_01 AC 115 ms
53,444 KB
testcase_02 AC 115 ms
56,208 KB
testcase_03 AC 115 ms
56,148 KB
testcase_04 AC 115 ms
55,988 KB
testcase_05 AC 116 ms
55,720 KB
testcase_06 AC 118 ms
55,920 KB
testcase_07 AC 116 ms
55,720 KB
testcase_08 AC 117 ms
56,160 KB
testcase_09 AC 116 ms
54,008 KB
testcase_10 AC 117 ms
53,212 KB
testcase_11 AC 117 ms
55,732 KB
testcase_12 AC 118 ms
56,100 KB
testcase_13 AC 119 ms
55,772 KB
testcase_14 AC 118 ms
55,924 KB
testcase_15 AC 117 ms
55,676 KB
testcase_16 AC 116 ms
55,776 KB
testcase_17 AC 117 ms
55,760 KB
testcase_18 WA -
testcase_19 WA -
testcase_20 WA -
testcase_21 WA -
testcase_22 WA -
testcase_23 WA -
testcase_24 WA -
testcase_25 WA -
testcase_26 WA -
testcase_27 WA -
testcase_28 WA -
testcase_29 WA -
testcase_30 WA -
権限があれば一括ダウンロードができます

ソースコード

diff #

import java.util.Scanner;

public class Main {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        long  N = Long.parseLong(sc.next());
        System.out.println((N % 7) + (N / 7 * 10));
    }
}
0