結果

問題 No.299 蟻本が読めない
ユーザー キョウチクキョウチク
提出日時 2022-06-01 14:21:08
言語 Java21
(openjdk 21)
結果
MLE  
実行時間 -
コード長 414 bytes
コンパイル時間 2,070 ms
コンパイル使用メモリ 74,264 KB
実行使用メモリ 57,560 KB
最終ジャッジ日時 2023-10-21 00:50:16
合計ジャッジ時間 3,084 ms
ジャッジサーバーID
(参考情報)
judge11 / judge9
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 MLE -
testcase_01 MLE -
testcase_02 MLE -
testcase_03 MLE -
権限があれば一括ダウンロードができます

ソースコード

diff #

import java.util.*;

public class Main {
  public static void main(String[] args) throws Exception {
    // Your code here!
    Scanner sc=new Scanner(System.in);
    String line;
    line=sc.nextLine();
    int result;
    result=(int)((316-52+52*Long.parseLong(line))/1000000000);
    System.out.print(result);
    result=(int)((316-52+52*Long.parseLong(line))%1000000000);
    System.out.println(result);
  }
}
0