結果

問題 No.969 じゃんけん
ユーザー バカらっく
提出日時 2022-02-03 13:12:33
言語 Kotlin
(2.1.0)
結果
AC  
実行時間 334 ms / 2,000 ms
コード長 150 bytes
コンパイル時間 12,655 ms
コンパイル使用メモリ 429,708 KB
実行使用メモリ 53,984 KB
最終ジャッジ日時 2024-06-11 09:52:37
合計ジャッジ時間 13,591 ms
ジャッジサーバーID
(参考情報)
judge4 / judge1
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 2
other AC * 4
権限があれば一括ダウンロードができます
コンパイルメッセージ
Main.kt:1:10: warning: parameter 'args' is never used
fun main(args: Array<String>) {
         ^

ソースコード

diff #

fun main(args: Array<String>) {
    val tmp = listOf(0,2,5)
    val x = readLine()!!.toInt()
    println(if(tmp.any { it*2 == x }) "Yes" else "No")
}
0