結果

問題 No.547 未知の言語
ユーザー minokasagominokasago
提出日時 2019-11-01 09:12:38
言語 Kotlin
(1.9.23)
結果
AC  
実行時間 293 ms / 2,000 ms
コード長 257 bytes
コンパイル時間 12,756 ms
コンパイル使用メモリ 412,252 KB
実行使用メモリ 54,648 KB
最終ジャッジ日時 2023-10-13 00:19:50
合計ジャッジ時間 24,666 ms
ジャッジサーバーID
(参考情報)
judge12 / judge13
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 292 ms
52,732 KB
testcase_01 AC 293 ms
52,772 KB
testcase_02 AC 292 ms
54,648 KB
testcase_03 AC 280 ms
52,644 KB
testcase_04 AC 279 ms
52,648 KB
testcase_05 AC 274 ms
52,496 KB
testcase_06 AC 274 ms
52,640 KB
testcase_07 AC 278 ms
52,512 KB
testcase_08 AC 289 ms
52,828 KB
testcase_09 AC 275 ms
52,612 KB
testcase_10 AC 278 ms
52,740 KB
testcase_11 AC 277 ms
52,604 KB
testcase_12 AC 276 ms
52,588 KB
testcase_13 AC 287 ms
52,740 KB
testcase_14 AC 280 ms
52,764 KB
testcase_15 AC 287 ms
52,756 KB
testcase_16 AC 278 ms
52,960 KB
testcase_17 AC 276 ms
52,608 KB
testcase_18 AC 278 ms
52,428 KB
testcase_19 AC 293 ms
52,828 KB
testcase_20 AC 276 ms
52,508 KB
testcase_21 AC 277 ms
52,556 KB
testcase_22 AC 278 ms
52,700 KB
testcase_23 AC 291 ms
52,764 KB
testcase_24 AC 272 ms
52,648 KB
testcase_25 AC 274 ms
52,688 KB
testcase_26 AC 276 ms
52,656 KB
testcase_27 AC 280 ms
52,636 KB
testcase_28 AC 287 ms
52,624 KB
testcase_29 AC 287 ms
52,836 KB
testcase_30 AC 278 ms
52,616 KB
testcase_31 AC 288 ms
52,824 KB
testcase_32 AC 273 ms
52,436 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

fun main()
{
    val N = readLine()!!.toInt()

    val S = readLine()!!.split(" ")
    val T = readLine()!!.split(" ")

    for (i in 0..N-1) {
        if (S[i] != T[i]) {
            println("${i+1}\n${S[i]}\n${T[i]}")
            return
        }
    }
}
0