結果

問題 No.969 じゃんけん
ユーザー takayuki-ochiai
提出日時 2020-02-19 00:10:36
言語 Kotlin
(2.1.0)
結果
AC  
実行時間 313 ms / 2,000 ms
コード長 225 bytes
コンパイル時間 11,400 ms
コンパイル使用メモリ 430,480 KB
実行使用メモリ 59,920 KB
最終ジャッジ日時 2024-10-06 15:57:00
合計ジャッジ時間 13,872 ms
ジャッジサーバーID
(参考情報)
judge3 / judge2
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 2
other AC * 4
権限があれば一括ダウンロードができます

ソースコード

diff #

fun main() {
    val input = readLine()
    val number = input?.toInt()

    number?.let {
        if (it in listOf<Number>(0, 4, 10))  {
            println("Yes")
        } else {
            println("No")
        }
    }
}
0