結果

問題 No.299 蟻本が読めない
ユーザー Goryudyuma
提出日時 2018-04-10 21:19:54
言語 Scala(Beta)
(3.6.2)
結果
MLE  
(最新)
AC  
(最初)
実行時間 -
コード長 339 bytes
コンパイル時間 7,250 ms
コンパイル使用メモリ 248,544 KB
実行使用メモリ 64,936 KB
最終ジャッジ日時 2024-06-30 05:49:06
合計ジャッジ時間 12,186 ms
ジャッジサーバーID
(参考情報)
judge1 / judge4
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other MLE * 4
権限があれば一括ダウンロードができます

ソースコード

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