結果

問題 No.1119 Division 3
ユーザー 👑 yumechiyumechi
提出日時 2021-02-23 23:08:07
言語 Scala(Beta)
(3.4.0)
結果
TLE  
(最新)
AC  
(最初)
実行時間 -
コード長 186 bytes
コンパイル時間 10,774 ms
コンパイル使用メモリ 266,064 KB
実行使用メモリ 66,064 KB
最終ジャッジ日時 2023-10-24 00:31:11
合計ジャッジ時間 29,398 ms
ジャッジサーバーID
(参考情報)
judge14 / judge12
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 TLE -
testcase_01 AC 999 ms
65,840 KB
testcase_02 AC 999 ms
65,804 KB
testcase_03 TLE -
testcase_04 TLE -
testcase_05 TLE -
testcase_06 TLE -
testcase_07 TLE -
testcase_08 AC 999 ms
65,856 KB
testcase_09 TLE -
testcase_10 TLE -
testcase_11 TLE -
testcase_12 TLE -
testcase_13 TLE -
testcase_14 TLE -
testcase_15 TLE -
testcase_16 AC 997 ms
65,804 KB
testcase_17 TLE -
権限があれば一括ダウンロードができます

ソースコード

diff #

import java.util.Scanner

object Main extends App {
  val sc = new Scanner(System.in)

  val tn = Array.fill(3)(BigInt(sc.nextLong))
  println(if (tn.product % 3 == 0) "Yes" else "No")
}
0