結果

問題 No.353 ヘイトプラス
ユーザー GoryudyumaGoryudyuma
提出日時 2018-05-16 09:14:46
言語 Scala(Beta)
(3.4.0)
結果
AC  
実行時間 996 ms / 1,000 ms
コード長 426 bytes
コンパイル時間 11,334 ms
コンパイル使用メモリ 252,004 KB
実行使用メモリ 63,600 KB
最終ジャッジ日時 2023-09-17 00:04:01
合計ジャッジ時間 21,932 ms
ジャッジサーバーID
(参考情報)
judge12 / judge14
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 988 ms
63,080 KB
testcase_01 AC 983 ms
62,980 KB
testcase_02 AC 966 ms
63,444 KB
testcase_03 AC 972 ms
63,108 KB
testcase_04 AC 988 ms
63,076 KB
testcase_05 AC 985 ms
63,376 KB
testcase_06 AC 964 ms
63,080 KB
testcase_07 AC 996 ms
63,044 KB
testcase_08 AC 982 ms
63,600 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import java.util.Scanner

import scala.collection.Searching._
import scala.annotation.tailrec
import scala.collection.mutable
import scala.collection.immutable._
import scala.io.StdIn.readLine

object Main {
  val m = (1 << 9) - 1

  def solve(sc: => Scanner): Unit = {
    println(Array.fill(2)(sc.nextInt).sum)
  }


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