結果

問題 No.138 化石のバージョン
ユーザー komkomhkomkomh
提出日時 2019-06-07 11:05:44
言語 Kotlin
(1.9.23)
結果
WA  
実行時間 -
コード長 276 bytes
コンパイル時間 10,588 ms
コンパイル使用メモリ 423,520 KB
実行使用メモリ 56,980 KB
最終ジャッジ日時 2024-04-30 20:55:01
合計ジャッジ時間 23,290 ms
ジャッジサーバーID
(参考情報)
judge1 / judge3
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 299 ms
56,868 KB
testcase_01 AC 298 ms
56,840 KB
testcase_02 WA -
testcase_03 AC 301 ms
56,756 KB
testcase_04 AC 320 ms
56,756 KB
testcase_05 AC 302 ms
56,860 KB
testcase_06 AC 301 ms
56,828 KB
testcase_07 AC 305 ms
56,760 KB
testcase_08 WA -
testcase_09 AC 302 ms
56,748 KB
testcase_10 AC 301 ms
56,872 KB
testcase_11 AC 301 ms
56,832 KB
testcase_12 AC 298 ms
56,752 KB
testcase_13 WA -
testcase_14 AC 303 ms
56,740 KB
testcase_15 WA -
testcase_16 AC 300 ms
56,860 KB
testcase_17 AC 301 ms
56,868 KB
testcase_18 AC 300 ms
56,832 KB
testcase_19 AC 299 ms
56,808 KB
testcase_20 AC 301 ms
56,828 KB
testcase_21 AC 298 ms
56,820 KB
testcase_22 AC 312 ms
56,732 KB
testcase_23 AC 317 ms
56,732 KB
testcase_24 WA -
testcase_25 WA -
testcase_26 AC 304 ms
56,720 KB
testcase_27 AC 304 ms
56,720 KB
testcase_28 AC 311 ms
56,736 KB
testcase_29 AC 311 ms
56,832 KB
testcase_30 AC 303 ms
56,744 KB
testcase_31 AC 306 ms
56,868 KB
testcase_32 AC 314 ms
56,836 KB
testcase_33 AC 316 ms
56,736 KB
testcase_34 AC 296 ms
56,888 KB
testcase_35 AC 311 ms
56,816 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