結果

問題 No.311 z in FizzBuzzString
ユーザー spacenautspacenaut
提出日時 2016-05-22 18:39:28
言語 Java21
(openjdk 21)
結果
AC  
実行時間 131 ms / 1,500 ms
コード長 188 bytes
コンパイル時間 2,226 ms
コンパイル使用メモリ 74,144 KB
実行使用メモリ 57,692 KB
最終ジャッジ日時 2023-10-25 02:44:28
合計ジャッジ時間 4,603 ms
ジャッジサーバーID
(参考情報)
judge15 / judge12
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 127 ms
57,664 KB
testcase_01 AC 128 ms
57,692 KB
testcase_02 AC 124 ms
57,620 KB
testcase_03 AC 124 ms
57,572 KB
testcase_04 AC 127 ms
57,264 KB
testcase_05 AC 131 ms
57,420 KB
testcase_06 AC 125 ms
57,596 KB
testcase_07 AC 126 ms
57,556 KB
testcase_08 AC 125 ms
57,556 KB
testcase_09 AC 125 ms
57,612 KB
testcase_10 AC 125 ms
57,564 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import java.util.*;

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