結果

問題 No.311 z in FizzBuzzString
ユーザー fal_rndfal_rnd
提出日時 2016-11-07 17:57:58
言語 Java21
(openjdk 21)
結果
AC  
実行時間 131 ms / 1,500 ms
コード長 185 bytes
コンパイル時間 1,999 ms
コンパイル使用メモリ 74,096 KB
実行使用メモリ 57,748 KB
最終ジャッジ日時 2023-10-25 02:47:52
合計ジャッジ時間 3,991 ms
ジャッジサーバーID
(参考情報)
judge14 / judge12
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 125 ms
57,748 KB
testcase_01 AC 126 ms
57,664 KB
testcase_02 AC 127 ms
57,556 KB
testcase_03 AC 126 ms
57,356 KB
testcase_04 AC 128 ms
57,520 KB
testcase_05 AC 131 ms
57,392 KB
testcase_06 AC 128 ms
57,520 KB
testcase_07 AC 127 ms
57,416 KB
testcase_08 AC 127 ms
57,492 KB
testcase_09 AC 127 ms
57,568 KB
testcase_10 AC 127 ms
57,548 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

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