提出 #52833983


ソースコード 拡げる

fun main() {
    val a = readln().split(" ").map { it.toInt() }
    val b = readln().split(" ").map { it.toInt() }

    println(a.sum() - b.sum() + 1)
}

提出情報

提出日時
問題 A - The bottom of the ninth
ユーザ dhirabayashi
言語 Kotlin (Kotlin/JVM 1.8.20)
得点 100
コード長 157 Byte
結果 AC
実行時間 63 ms
メモリ 39960 KiB

ジャッジ結果

セット名 Sample All
得点 / 配点 0 / 0 100 / 100
結果
AC × 2
AC × 12
セット名 テストケース
Sample example_00.txt, example_01.txt
All example_00.txt, example_01.txt, hand_00.txt, hand_01.txt, hand_02.txt, random_00.txt, random_01.txt, random_02.txt, random_03.txt, random_04.txt, random_05.txt, random_06.txt
ケース名 結果 実行時間 メモリ
example_00.txt AC 57 ms 39728 KiB
example_01.txt AC 57 ms 39784 KiB
hand_00.txt AC 60 ms 39960 KiB
hand_01.txt AC 57 ms 39920 KiB
hand_02.txt AC 59 ms 39892 KiB
random_00.txt AC 57 ms 39836 KiB
random_01.txt AC 57 ms 39764 KiB
random_02.txt AC 57 ms 39828 KiB
random_03.txt AC 57 ms 39780 KiB
random_04.txt AC 63 ms 39740 KiB
random_05.txt AC 58 ms 39732 KiB
random_06.txt AC 57 ms 39880 KiB