結果

問題 No.299 蟻本が読めない
ユーザー GoryudyumaGoryudyuma
提出日時 2018-04-10 21:19:54
言語 Scala(Beta)
(3.4.0)
結果
MLE  
(最新)
AC  
(最初)
実行時間 -
コード長 339 bytes
コンパイル時間 6,648 ms
コンパイル使用メモリ 238,112 KB
実行使用メモリ 62,640 KB
最終ジャッジ日時 2023-09-12 18:06:21
合計ジャッジ時間 11,811 ms
ジャッジサーバーID
(参考情報)
judge15 / judge14
このコードへのチャレンジ
(要ログイン)

テストケース

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

ソースコード

diff #

import java.util.Scanner

object Main {
  def solve(sc: => Scanner): Unit = {
    println(sc.nextLong * 52 + 264)
  }

  def gcd(i: Long, j: Long): Long = {
    if (i < j) (gcd(j, i)) else (if (j == 0) (i) else (gcd(j, i % j)))
  }

  def main(args: Array[String]): Unit = {
    val sc: Scanner = new Scanner(System.in)
    solve(sc)
  }
}
0