結果

問題 No.969 じゃんけん
ユーザー バカらっくバカらっく
提出日時 2022-02-03 13:12:33
言語 Kotlin
(1.9.23)
結果
AC  
実行時間 290 ms / 2,000 ms
コード長 150 bytes
コンパイル時間 11,142 ms
コンパイル使用メモリ 411,308 KB
実行使用メモリ 55,960 KB
最終ジャッジ日時 2023-09-02 03:14:20
合計ジャッジ時間 14,295 ms
ジャッジサーバーID
(参考情報)
judge16 / judge11
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 287 ms
55,896 KB
testcase_01 AC 289 ms
55,912 KB
testcase_02 AC 287 ms
55,776 KB
testcase_03 AC 286 ms
55,832 KB
testcase_04 AC 285 ms
55,960 KB
testcase_05 AC 290 ms
55,944 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
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