結果

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

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 941 ms
62,572 KB
testcase_01 AC 933 ms
63,064 KB
testcase_02 AC 937 ms
62,768 KB
testcase_03 AC 939 ms
62,800 KB
testcase_04 AC 938 ms
63,100 KB
testcase_05 AC 943 ms
62,524 KB
testcase_06 AC 933 ms
62,576 KB
testcase_07 AC 929 ms
62,464 KB
testcase_08 AC 931 ms
62,740 KB
testcase_09 AC 930 ms
62,364 KB
testcase_10 AC 943 ms
62,916 KB
testcase_11 AC 935 ms
62,676 KB
testcase_12 AC 945 ms
62,740 KB
testcase_13 AC 940 ms
62,920 KB
testcase_14 AC 930 ms
62,588 KB
testcase_15 AC 964 ms
62,972 KB
testcase_16 AC 941 ms
63,068 KB
testcase_17 AC 950 ms
62,800 KB
testcase_18 AC 957 ms
62,508 KB
testcase_19 AC 930 ms
62,724 KB
testcase_20 AC 929 ms
62,452 KB
testcase_21 AC 938 ms
62,524 KB
testcase_22 AC 946 ms
62,612 KB
testcase_23 AC 950 ms
62,900 KB
testcase_24 AC 944 ms
62,940 KB
testcase_25 AC 936 ms
63,004 KB
testcase_26 AC 944 ms
62,588 KB
testcase_27 AC 943 ms
62,704 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import java.util.Scanner

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

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