Submission #9505841


Source Code Expand

Copy
BEGIN {
    FS = "[ \n]"
    RS = "@"
}
{
    print $1 == $3 || $1 == $4 || $2 == $3 || $2 == $4 ? "YES" : "NO"
}

Submission Info

Submission Time
Task B - ディスプレイ
User cympfh
Language Awk (mawk 1.3.3)
Score 100
Code Size 121 Byte
Status
Exec Time 3 ms
Memory 380 KB

Judge Result

Set Name Score / Max Score Test Cases
Sample 0 / 0 sample0.txt, sample1.txt, sample2.txt, sample3.txt, sample4.txt
All 100 / 100 sample0.txt, sample1.txt, sample2.txt, sample3.txt, sample4.txt, subtask1_0.txt, subtask1_1.txt, subtask1_10.txt, subtask1_11.txt, subtask1_12.txt, subtask1_13.txt, subtask1_14.txt, subtask1_2.txt, subtask1_3.txt, subtask1_4.txt, subtask1_5.txt, subtask1_6.txt, subtask1_7.txt, subtask1_8.txt, subtask1_9.txt
Case Name Status Exec Time Memory
sample0.txt 3 ms 380 KB
sample1.txt 1 ms 256 KB
sample2.txt 1 ms 256 KB
sample3.txt 1 ms 256 KB
sample4.txt 1 ms 256 KB
subtask1_0.txt 1 ms 256 KB
subtask1_1.txt 1 ms 256 KB
subtask1_10.txt 1 ms 256 KB
subtask1_11.txt 1 ms 256 KB
subtask1_12.txt 1 ms 256 KB
subtask1_13.txt 1 ms 256 KB
subtask1_14.txt 1 ms 256 KB
subtask1_2.txt 1 ms 256 KB
subtask1_3.txt 1 ms 256 KB
subtask1_4.txt 1 ms 256 KB
subtask1_5.txt 1 ms 256 KB
subtask1_6.txt 1 ms 256 KB
subtask1_7.txt 1 ms 256 KB
subtask1_8.txt 1 ms 256 KB
subtask1_9.txt 1 ms 256 KB