結果
問題 | No.311 z in FizzBuzzString |
ユーザー |
![]() |
提出日時 | 2018-02-23 22:45:12 |
言語 | Java (openjdk 23) |
結果 |
AC
|
実行時間 | 53 ms / 1,500 ms |
コード長 | 614 bytes |
コンパイル時間 | 2,876 ms |
コンパイル使用メモリ | 75,144 KB |
実行使用メモリ | 50,312 KB |
最終ジャッジ日時 | 2024-09-24 22:03:59 |
合計ジャッジ時間 | 4,006 ms |
ジャッジサーバーID (参考情報) |
judge5 / judge4 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 11 |
ソースコード
package yukiCoder;import java.io.BufferedReader;import java.io.IOException;import java.io.InputStreamReader;public class No00311 {public static void main(String[] args) {BufferedReader bufferedReader = new BufferedReader(new InputStreamReader(System.in));try {long length = Long.parseLong(bufferedReader.readLine());System.out.println((length/3 + length/5) * 2);} catch (NumberFormatException e) {// TODO 自動生成された catch ブロックe.printStackTrace();} catch (IOException e) {// TODO 自動生成された catch ブロックe.printStackTrace();}}}