結果

問題 No.311 z in FizzBuzzString
ユーザー UEUEUE66UEUEUE66
提出日時 2018-11-13 16:05:16
言語 Java21
(openjdk 21)
結果
WA  
実行時間 -
コード長 302 bytes
コンパイル時間 1,937 ms
コンパイル使用メモリ 74,080 KB
実行使用メモリ 57,952 KB
最終ジャッジ日時 2023-10-25 02:56:32
合計ジャッジ時間 4,087 ms
ジャッジサーバーID
(参考情報)
judge15 / judge11
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 126 ms
57,620 KB
testcase_01 AC 130 ms
57,376 KB
testcase_02 AC 129 ms
57,556 KB
testcase_03 WA -
testcase_04 AC 139 ms
55,816 KB
testcase_05 WA -
testcase_06 AC 132 ms
57,508 KB
testcase_07 WA -
testcase_08 WA -
testcase_09 WA -
testcase_10 AC 132 ms
57,708 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import java.util.Scanner;

public class Main {
    public static void main(String[] args) {
	// write your code here
        Scanner s = new Scanner(System.in);
        long count = 0;
        long N = s.nextLong();
        count = 4 * N / 15 + 2 * 2 * N / 5;
        System.out.println(count);
    }
}
0