結果

問題 No.1256 連続整数列
ユーザー rutilicusrutilicus
提出日時 2021-02-13 22:15:37
言語 Kotlin
(1.9.23)
結果
AC  
実行時間 287 ms / 2,000 ms
コード長 232 bytes
コンパイル時間 10,773 ms
コンパイル使用メモリ 409,084 KB
実行使用メモリ 50,628 KB
最終ジャッジ日時 2023-09-28 08:02:38
合計ジャッジ時間 19,517 ms
ジャッジサーバーID
(参考情報)
judge14 / judge15
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 273 ms
50,336 KB
testcase_01 AC 277 ms
50,440 KB
testcase_02 AC 274 ms
50,456 KB
testcase_03 AC 273 ms
50,160 KB
testcase_04 AC 273 ms
50,276 KB
testcase_05 AC 287 ms
50,168 KB
testcase_06 AC 277 ms
50,460 KB
testcase_07 AC 277 ms
50,232 KB
testcase_08 AC 275 ms
50,288 KB
testcase_09 AC 275 ms
50,352 KB
testcase_10 AC 269 ms
50,272 KB
testcase_11 AC 272 ms
50,336 KB
testcase_12 AC 271 ms
50,416 KB
testcase_13 AC 270 ms
50,092 KB
testcase_14 AC 273 ms
50,220 KB
testcase_15 AC 272 ms
50,152 KB
testcase_16 AC 271 ms
50,628 KB
testcase_17 AC 275 ms
50,232 KB
testcase_18 AC 273 ms
50,088 KB
testcase_19 AC 273 ms
50,356 KB
testcase_20 AC 273 ms
50,172 KB
testcase_21 AC 272 ms
50,220 KB
testcase_22 AC 287 ms
50,368 KB
testcase_23 AC 287 ms
50,564 KB
testcase_24 AC 273 ms
50,344 KB
testcase_25 AC 274 ms
50,272 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

fun main() {
    val builder = StringBuilder()

    // 何も分からん
    builder.appendLine(if (readInputLine() == "1") "NO" else "YES")

    print(builder.toString())
}

fun readInputLine(): String {
    return readLine()!!
}
0