Submission #8993358


Source Code Expand

NR==1{A=$1;B=$2}
NR==2{
	for(;$0;sub(/./,e))/^C/||/^E/&&A<B?B--:A--;
}
END{print A*(A>0),B*(B>0)}

Submission Info

Submission Time
Task B - 洋菓子店
User kotatsugame
Language Awk (mawk 1.3.3)
Score 0
Code Size 103 Byte
Status RE
Exec Time 1 ms
Memory 256 KB

Judge Result

Set Name Sample All
Score / Max Score 0 / 0 0 / 200
Status
RE × 4
RE × 12
Set Name Test Cases
Sample sample-01.txt, sample-02.txt, sample-03.txt, sample-04.txt
All 01.txt, 02.txt, 03.txt, 04.txt, 05.txt, 06.txt, 07.txt, 08.txt, sample-01.txt, sample-02.txt, sample-03.txt, sample-04.txt
Case Name Status Exec Time Memory
01.txt RE 1 ms 256 KB
02.txt RE 1 ms 256 KB
03.txt RE 1 ms 256 KB
04.txt RE 1 ms 256 KB
05.txt RE 1 ms 256 KB
06.txt RE 1 ms 256 KB
07.txt RE 1 ms 256 KB
08.txt RE 1 ms 256 KB
sample-01.txt RE 1 ms 256 KB
sample-02.txt RE 1 ms 256 KB
sample-03.txt RE 1 ms 256 KB
sample-04.txt RE 1 ms 256 KB