結果

問題 No.138 化石のバージョン
ユーザー komkomhkomkomh
提出日時 2019-06-07 11:05:44
言語 Kotlin
(1.9.23)
結果
WA  
実行時間 -
コード長 276 bytes
コンパイル時間 11,286 ms
コンパイル使用メモリ 408,476 KB
実行使用メモリ 55,012 KB
最終ジャッジ日時 2023-08-13 02:27:25
合計ジャッジ時間 23,492 ms
ジャッジサーバーID
(参考情報)
judge14 / judge12
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 283 ms
48,856 KB
testcase_01 AC 285 ms
48,788 KB
testcase_02 WA -
testcase_03 AC 279 ms
49,032 KB
testcase_04 AC 280 ms
48,688 KB
testcase_05 AC 286 ms
48,732 KB
testcase_06 AC 281 ms
48,872 KB
testcase_07 AC 278 ms
48,828 KB
testcase_08 WA -
testcase_09 AC 284 ms
49,128 KB
testcase_10 AC 280 ms
48,836 KB
testcase_11 AC 285 ms
48,820 KB
testcase_12 AC 277 ms
48,732 KB
testcase_13 WA -
testcase_14 AC 279 ms
48,844 KB
testcase_15 WA -
testcase_16 AC 281 ms
49,108 KB
testcase_17 AC 279 ms
49,084 KB
testcase_18 AC 281 ms
48,752 KB
testcase_19 AC 278 ms
48,760 KB
testcase_20 AC 282 ms
48,908 KB
testcase_21 AC 282 ms
48,756 KB
testcase_22 AC 281 ms
48,960 KB
testcase_23 AC 284 ms
49,104 KB
testcase_24 WA -
testcase_25 WA -
testcase_26 AC 281 ms
50,572 KB
testcase_27 AC 282 ms
53,060 KB
testcase_28 AC 282 ms
52,732 KB
testcase_29 AC 282 ms
52,804 KB
testcase_30 AC 278 ms
52,848 KB
testcase_31 AC 282 ms
52,736 KB
testcase_32 AC 281 ms
52,724 KB
testcase_33 AC 285 ms
52,892 KB
testcase_34 AC 277 ms
52,808 KB
testcase_35 AC 280 ms
53,092 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

package yukicoder

fun main() {
    val kasekiVersion = readLine()!!.replace(".", "").toInt()
    val checkVersion = readLine()!!.replace(".", "").toInt()

    val ans = when(checkVersion <= kasekiVersion) {
        true -> "YES"
        false -> "NO"
    }
    println(ans)
}
0