Submission #452806


Source Code Expand

Copy
tr \\n \ |awk '$0=$1+$2-($2>$3?$2-$3:$3-$2)'

Submission Info

Submission Time
Task A - コインの反転
User mugenen
Language Bash (4.2.25)
Score 100
Code Size 44 Byte
Status
Exec Time 39 ms
Memory 1128 KB

Test Cases

Set Name Score / Max Score Test Cases
Sample 0 / 0 sample_01.txt, sample_02.txt, sample_03.txt
All 100 / 100 sample_01.txt, sample_02.txt, sample_03.txt, subtask1_01.txt, subtask1_02.txt, subtask1_03.txt, subtask1_04.txt, subtask1_05.txt, subtask1_06.txt, subtask1_07.txt, subtask1_08.txt, subtask1_09.txt, subtask1_10.txt, subtask1_11.txt, subtask1_12.txt, subtask1_13.txt, subtask1_14.txt, subtask1_15.txt, subtask1_16.txt, subtask1_17.txt, subtask1_18.txt, subtask1_19.txt, subtask1_20.txt, subtask1_21.txt, subtask1_22.txt, subtask1_23.txt, subtask1_24.txt, subtask1_25.txt, subtask1_26.txt, subtask1_27.txt, subtask1_28.txt, subtask1_29.txt, subtask1_30.txt, subtask1_31.txt, subtask1_32.txt
Case Name Status Exec Time Memory
sample_01.txt 34 ms 1072 KB
sample_02.txt 39 ms 1092 KB
sample_03.txt 32 ms 1056 KB
subtask1_01.txt 32 ms 1092 KB
subtask1_02.txt 31 ms 1104 KB
subtask1_03.txt 34 ms 1004 KB
subtask1_04.txt 33 ms 1076 KB
subtask1_05.txt 32 ms 1060 KB
subtask1_06.txt 32 ms 1052 KB
subtask1_07.txt 32 ms 1128 KB
subtask1_08.txt 32 ms 1096 KB
subtask1_09.txt 32 ms 988 KB
subtask1_10.txt 32 ms 984 KB
subtask1_11.txt 32 ms 1068 KB
subtask1_12.txt 32 ms 984 KB
subtask1_13.txt 32 ms 984 KB
subtask1_14.txt 32 ms 1088 KB
subtask1_15.txt 33 ms 1084 KB
subtask1_16.txt 33 ms 1080 KB
subtask1_17.txt 33 ms 1096 KB
subtask1_18.txt 33 ms 1052 KB
subtask1_19.txt 32 ms 1100 KB
subtask1_20.txt 33 ms 1080 KB
subtask1_21.txt 32 ms 1092 KB
subtask1_22.txt 33 ms 1096 KB
subtask1_23.txt 32 ms 1076 KB
subtask1_24.txt 33 ms 1048 KB
subtask1_25.txt 33 ms 1084 KB
subtask1_26.txt 33 ms 1096 KB
subtask1_27.txt 33 ms 1048 KB
subtask1_28.txt 32 ms 1100 KB
subtask1_29.txt 33 ms 1092 KB
subtask1_30.txt 33 ms 1048 KB
subtask1_31.txt 33 ms 1052 KB
subtask1_32.txt 33 ms 1064 KB