Submission #19683933


Source Code Expand

const main = (input) => {
    input = input.trim().split('');
    let A = input[0];
    let B = input[1];
    let C = input[2];
    console.log((A == B && B == C) ? 'Won' : 'Lost');
}

const input = require("fs").readFileSync("/dev/stdin", "utf8");
main(input);

Submission Info

Submission Time
Task A - Slot
User k0jik0ji
Language JavaScript (Node.js 12.16.1)
Score 100
Code Size 272 Byte
Status AC
Exec Time 59 ms
Memory 29540 KiB

Judge Result

Set Name Sample All
Score / Max Score 0 / 0 100 / 100
Status
AC × 2
AC × 19
Set Name Test Cases
Sample sample_01.txt, sample_02.txt
All hand_01.txt, hand_02.txt, random_01.txt, random_02.txt, random_03.txt, random_04.txt, random_05.txt, random_06.txt, random_07.txt, random_08.txt, random_09.txt, random_10.txt, random_11.txt, random_12.txt, random_13.txt, random_14.txt, random_15.txt, sample_01.txt, sample_02.txt
Case Name Status Exec Time Memory
hand_01.txt AC 59 ms 29484 KiB
hand_02.txt AC 52 ms 29472 KiB
random_01.txt AC 49 ms 29532 KiB
random_02.txt AC 51 ms 29464 KiB
random_03.txt AC 55 ms 29528 KiB
random_04.txt AC 51 ms 29528 KiB
random_05.txt AC 52 ms 29420 KiB
random_06.txt AC 52 ms 29524 KiB
random_07.txt AC 56 ms 29440 KiB
random_08.txt AC 52 ms 29480 KiB
random_09.txt AC 48 ms 29436 KiB
random_10.txt AC 52 ms 29528 KiB
random_11.txt AC 52 ms 29520 KiB
random_12.txt AC 49 ms 29480 KiB
random_13.txt AC 51 ms 29528 KiB
random_14.txt AC 48 ms 29540 KiB
random_15.txt AC 56 ms 29424 KiB
sample_01.txt AC 56 ms 29524 KiB
sample_02.txt AC 52 ms 29476 KiB