結果

問題 No.311 z in FizzBuzzString
ユーザー mits58
提出日時 2016-06-05 17:24:25
言語 Java
(openjdk 23)
結果
RE  
実行時間 -
コード長 214 bytes
コンパイル時間 1,951 ms
コンパイル使用メモリ 73,980 KB
実行使用メモリ 54,328 KB
最終ジャッジ日時 2024-09-24 21:43:00
合計ジャッジ時間 3,918 ms
ジャッジサーバーID
(参考情報)
judge1 / judge5
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other AC * 7 RE * 4
権限があれば一括ダウンロードができます

ソースコード

diff #

import java.util.Scanner;

public class Main{
	public static void main(String args[]){
		Scanner sc=new Scanner(System.in);
		while(sc.hasNext()){
			int n=sc.nextInt();
			System.out.println(2*(n/3+n/5));
		}
	}
}
0