結果

問題 No.1040 垂直大学
ユーザー yumechi
提出日時 2021-02-18 02:41:06
言語 Scala(Beta)
(3.6.2)
結果
AC  
実行時間 948 ms / 2,000 ms
コード長 196 bytes
コンパイル時間 11,731 ms
コンパイル使用メモリ 254,564 KB
実行使用メモリ 65,080 KB
最終ジャッジ日時 2024-09-14 11:22:16
合計ジャッジ時間 32,392 ms
ジャッジサーバーID
(参考情報)
judge5 / judge6
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other AC * 17
権限があれば一括ダウンロードができます

ソースコード

diff #

import java.util.Scanner

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

  println(sc.nextInt match {
    case n if(!(n % 180 == 0) && n % 90 == 0) => "Yes"
    case _ => "No"
  })
}
0