結果

問題 No.311 z in FizzBuzzString
ユーザー 37zigen
提出日時 2016-03-11 02:37:36
言語 Java
(openjdk 23)
結果
AC  
実行時間 144 ms / 1,500 ms
コード長 337 bytes
コンパイル時間 2,014 ms
コンパイル使用メモリ 76,136 KB
実行使用メモリ 54,416 KB
最終ジャッジ日時 2024-09-24 21:36:27
合計ジャッジ時間 4,181 ms
ジャッジサーバーID
(参考情報)
judge5 / judge4
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other AC * 11
権限があれば一括ダウンロードができます

ソースコード

diff #

import java.util.Date;
import java.util.Scanner;
public class Main{
	public static void main(String[] args){
		long exec_time=new Date().getTime();
		Scanner sc=new Scanner(System.in);
		long n=sc.nextLong();
		long ans=2*((long)n/3+(long)n/5);
		System.out.println(ans);
		System.err.println(new Date().getTime()-exec_time+"ans");
	}
}
0