結果

問題 No.481 1から10
ユーザー uchida_tuchida_t
提出日時 2023-05-30 12:56:53
言語 Kotlin
(1.9.23)
結果
RE  
実行時間 -
コード長 216 bytes
コンパイル時間 12,318 ms
コンパイル使用メモリ 424,020 KB
実行使用メモリ 54,996 KB
最終ジャッジ日時 2023-08-28 00:32:15
合計ジャッジ時間 16,596 ms
ジャッジサーバーID
(参考情報)
judge13 / judge14
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 283 ms
53,000 KB
testcase_01 AC 284 ms
53,004 KB
testcase_02 AC 288 ms
53,040 KB
testcase_03 AC 276 ms
53,032 KB
testcase_04 AC 279 ms
52,904 KB
testcase_05 AC 285 ms
53,000 KB
testcase_06 AC 277 ms
52,920 KB
testcase_07 AC 280 ms
53,464 KB
testcase_08 AC 280 ms
54,748 KB
testcase_09 RE -
権限があれば一括ダウンロードができます
コンパイルメッセージ
Main.kt:1:10: warning: parameter 'args' is never used
fun main(args: Array<String>) {
         ^

ソースコード

diff #

fun main(args: Array<String>) {

    val list = readLine()!!.split(" ").map { it.toInt() }


    for (i in 0 until 10) {
        if (list[i] != i + 1) {
            println(i + 1)
            return
        }
    }
}
0