Submission #62759849


Source Code Expand

#include <bits/stdc++.h>
using namespace std;

int main() {
    string S1, S2;
    cin >> S1 >> S2;
    if (S1 == "sick" && S2 == "sick") {
        cout << 1 << endl;
    } else if (S1 == "sick" && S2 == "fine") {
        cout << 2 << endl;
    } else if (S1 == "fine" && S2 == "sick") {
        cout << 3 << endl;
    } else if (S1 == "fine" && S2 == "fine") {
        cout << 4 << endl;
    }
}

Submission Info

Submission Time
Task A - Poisonous Oyster
User thedekopin0108
Language C++ 17 (gcc 12.2)
Score 100
Code Size 413 Byte
Status AC
Exec Time 1 ms
Memory 3632 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 1 ms 3464 KiB
00_sample_01.txt AC 1 ms 3456 KiB
01_all_00.txt AC 1 ms 3456 KiB
01_all_01.txt AC 1 ms 3552 KiB
01_all_02.txt AC 1 ms 3524 KiB
01_all_03.txt AC 1 ms 3632 KiB
02_random_00.txt AC 1 ms 3460 KiB
02_random_01.txt AC 1 ms 3476 KiB
02_random_02.txt AC 1 ms 3456 KiB
02_random_03.txt AC 1 ms 3456 KiB