結果

問題 No.311 z in FizzBuzzString
ユーザー Mcpu3Mcpu3
提出日時 2018-06-26 00:22:02
言語 Java21
(openjdk 21)
結果
AC  
実行時間 132 ms / 1,500 ms
コード長 194 bytes
コンパイル時間 2,057 ms
コンパイル使用メモリ 75,484 KB
実行使用メモリ 57,880 KB
最終ジャッジ日時 2023-10-25 02:55:27
合計ジャッジ時間 4,225 ms
ジャッジサーバーID
(参考情報)
judge14 / judge13
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 132 ms
57,528 KB
testcase_01 AC 131 ms
57,564 KB
testcase_02 AC 130 ms
57,556 KB
testcase_03 AC 130 ms
57,588 KB
testcase_04 AC 129 ms
57,516 KB
testcase_05 AC 131 ms
57,816 KB
testcase_06 AC 130 ms
57,580 KB
testcase_07 AC 131 ms
57,552 KB
testcase_08 AC 132 ms
57,548 KB
testcase_09 AC 130 ms
57,880 KB
testcase_10 AC 130 ms
57,580 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import java.util.Scanner;

class no311{
	public static void main(String[] args) {
		Scanner stdIn=new Scanner(System.in);
		long n=stdIn.nextLong();
		System.out.print(2*(n/3+n/5));
	}
}
0