Submission #62756210


Source Code Expand

fun main() {
    val (s1, s2) = readln().split(" ")
    var ans: Int
    if (s1 == "sick") {
        if (s2 == "sick") {
            ans = 1
        } else {
            ans = 2
        }
    } else {
        if (s2 == "sick") {
            ans = 3
        } else {
            ans = 4
        }
    }
    println(ans)
}

Submission Info

Submission Time
Task A - Poisonous Oyster
User bugtori
Language Kotlin (Kotlin/JVM 1.8.20)
Score 100
Code Size 339 Byte
Status AC
Exec Time 56 ms
Memory 39160 KiB

Judge Result

Set Name Sample All
Score / Max Score 0 / 0 100 / 100
Status
AC × 2
AC × 10
Set Name Test Cases
Sample 00_sample_00.txt, 00_sample_01.txt
All 00_sample_00.txt, 00_sample_01.txt, 01_all_00.txt, 01_all_01.txt, 01_all_02.txt, 01_all_03.txt, 02_random_00.txt, 02_random_01.txt, 02_random_02.txt, 02_random_03.txt
Case Name Status Exec Time Memory
00_sample_00.txt AC 56 ms 38904 KiB
00_sample_01.txt AC 55 ms 39060 KiB
01_all_00.txt AC 56 ms 39036 KiB
01_all_01.txt AC 55 ms 39020 KiB
01_all_02.txt AC 55 ms 39112 KiB
01_all_03.txt AC 55 ms 39108 KiB
02_random_00.txt AC 56 ms 39160 KiB
02_random_01.txt AC 51 ms 38920 KiB
02_random_02.txt AC 55 ms 39140 KiB
02_random_03.txt AC 55 ms 39020 KiB