結果

問題 No.311 z in FizzBuzzString
ユーザー rf141rf141
提出日時 2015-12-19 16:09:57
言語 Java21
(openjdk 21)
結果
AC  
実行時間 133 ms / 1,500 ms
コード長 212 bytes
コンパイル時間 2,132 ms
コンパイル使用メモリ 74,496 KB
実行使用メモリ 57,728 KB
最終ジャッジ日時 2023-10-25 02:38:51
合計ジャッジ時間 4,147 ms
ジャッジサーバーID
(参考情報)
judge13 / judge15
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 127 ms
57,524 KB
testcase_01 AC 126 ms
57,596 KB
testcase_02 AC 133 ms
57,664 KB
testcase_03 AC 127 ms
57,728 KB
testcase_04 AC 129 ms
57,696 KB
testcase_05 AC 126 ms
57,564 KB
testcase_06 AC 126 ms
57,556 KB
testcase_07 AC 128 ms
57,432 KB
testcase_08 AC 130 ms
57,648 KB
testcase_09 AC 124 ms
57,512 KB
testcase_10 AC 115 ms
56,312 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import java.util.Scanner;
class Main {
    public static void main(String... args){
        Scanner scan = new Scanner(System.in);long n = scan.nextLong();
        System.out.println((n / 3 + n / 5) * 2);
    }
}
0