結果

問題 No.1003 サイコロの実装 (1)
ユーザー 👑 yumechiyumechi
提出日時 2021-02-18 02:04:18
言語 Scala(Beta)
(3.4.0)
結果
AC  
実行時間 948 ms / 2,000 ms
コード長 175 bytes
コンパイル時間 7,324 ms
コンパイル使用メモリ 241,400 KB
実行使用メモリ 63,140 KB
最終ジャッジ日時 2023-10-12 11:50:12
合計ジャッジ時間 35,736 ms
ジャッジサーバーID
(参考情報)
judge11 / judge12
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 936 ms
62,804 KB
testcase_01 AC 933 ms
62,684 KB
testcase_02 AC 940 ms
62,636 KB
testcase_03 AC 933 ms
62,980 KB
testcase_04 AC 941 ms
62,664 KB
testcase_05 AC 933 ms
62,528 KB
testcase_06 AC 938 ms
62,832 KB
testcase_07 AC 944 ms
62,720 KB
testcase_08 AC 941 ms
62,976 KB
testcase_09 AC 930 ms
62,688 KB
testcase_10 AC 930 ms
62,840 KB
testcase_11 AC 931 ms
62,660 KB
testcase_12 AC 939 ms
62,524 KB
testcase_13 AC 932 ms
63,096 KB
testcase_14 AC 932 ms
63,140 KB
testcase_15 AC 943 ms
62,768 KB
testcase_16 AC 931 ms
62,864 KB
testcase_17 AC 938 ms
62,832 KB
testcase_18 AC 933 ms
62,672 KB
testcase_19 AC 939 ms
62,544 KB
testcase_20 AC 938 ms
62,528 KB
testcase_21 AC 940 ms
62,448 KB
testcase_22 AC 946 ms
62,696 KB
testcase_23 AC 941 ms
63,136 KB
testcase_24 AC 947 ms
62,804 KB
testcase_25 AC 947 ms
62,756 KB
testcase_26 AC 942 ms
62,988 KB
testcase_27 AC 948 ms
62,576 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import java.util.Scanner

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

  println(sc.nextInt match {
    case t if t % 6 == 0 => "Yes"
    case _ => "No"
  })
}
0