結果

問題 No.481 1から10
ユーザー uchida_tuchida_t
提出日時 2023-05-30 12:56:07
言語 Kotlin
(1.9.23)
結果
WA  
実行時間 -
コード長 208 bytes
コンパイル時間 15,723 ms
コンパイル使用メモリ 410,336 KB
実行使用メモリ 56,008 KB
最終ジャッジ日時 2023-08-28 00:31:53
合計ジャッジ時間 17,469 ms
ジャッジサーバーID
(参考情報)
judge15 / judge13
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 WA -
testcase_01 AC 295 ms
55,988 KB
testcase_02 WA -
testcase_03 WA -
testcase_04 WA -
testcase_05 WA -
testcase_06 WA -
testcase_07 WA -
testcase_08 WA -
testcase_09 WA -
権限があれば一括ダウンロードができます
コンパイルメッセージ
Main.kt:1:10: warning: parameter 'args' is never used
fun main(args: Array<String>) {
         ^

ソースコード

diff #

fun main(args: Array<String>) {

    val list = listOf(1, 2, 3, 4, 5, 6, 7, 9, 10)


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