結果

問題 No.311 z in FizzBuzzString
ユーザー matsuyoshi30matsuyoshi30
提出日時 2016-01-10 11:04:23
言語 Java21
(openjdk 21)
結果
RE  
実行時間 -
コード長 258 bytes
コンパイル時間 1,934 ms
コンパイル使用メモリ 74,580 KB
実行使用メモリ 57,792 KB
最終ジャッジ日時 2023-10-25 02:40:13
合計ジャッジ時間 4,083 ms
ジャッジサーバーID
(参考情報)
judge15 / judge11
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 118 ms
57,304 KB
testcase_01 AC 122 ms
57,588 KB
testcase_02 AC 123 ms
57,480 KB
testcase_03 AC 120 ms
57,248 KB
testcase_04 AC 122 ms
57,468 KB
testcase_05 AC 123 ms
57,412 KB
testcase_06 AC 127 ms
57,476 KB
testcase_07 RE -
testcase_08 RE -
testcase_09 RE -
testcase_10 RE -
権限があれば一括ダウンロードができます

ソースコード

diff #

import java.util.Scanner;

class Test {
    public static void main(String[] args) {
        Scanner in = new Scanner(System.in);
        String str = in.next();
        int n = Integer.parseInt(str);

        System.out.println((n / 3 + n / 5) * 2);
    }
}
0