Submission #15767679


Source Code Expand

#include<bits/stdc++.h>
using namespace std;
int main(){
	int numero,AC=0,WA=0,TLE=0,RE=0;
	string palabra;
	cin>>numero;
	for(int i=0;i<numero;i++){
		cin>>palabra;
		if(palabra=="AC"){
			AC++;
		}
		else if(palabra=="WA"){
			WA++;
		}
		else if(palabra=="TLE"){
			TLE++;
		}
		else if(palabra=="RE"){
			RE++;
		}
	}
	cout<<"AC x "<<AC<<endl;
	cout<<"WA x "<<WA<<endl;
	cout<<"TLE x "<<TLE<<endl;
	cout<<"RE x "<<RE<<endl;
}

Submission Info

Submission Time
Task B - Judge Status Summary
User kev132
Language C++ (GCC 9.2.1)
Score 200
Code Size 456 Byte
Status AC
Exec Time 29 ms
Memory 3644 KiB

Judge Result

Set Name Sample All
Score / Max Score 0 / 0 200 / 200
Status
AC × 2
AC × 22
Set Name Test Cases
Sample sample_01.txt, sample_02.txt
All hand_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, random_16.txt, random_17.txt, random_18.txt, random_19.txt, random_20.txt, sample_01.txt, sample_02.txt
Case Name Status Exec Time Memory
hand_01.txt AC 8 ms 3484 KiB
random_02.txt AC 18 ms 3500 KiB
random_03.txt AC 29 ms 3484 KiB
random_04.txt AC 17 ms 3556 KiB
random_05.txt AC 25 ms 3608 KiB
random_06.txt AC 15 ms 3504 KiB
random_07.txt AC 28 ms 3604 KiB
random_08.txt AC 22 ms 3472 KiB
random_09.txt AC 25 ms 3584 KiB
random_10.txt AC 23 ms 3500 KiB
random_11.txt AC 25 ms 3440 KiB
random_12.txt AC 27 ms 3492 KiB
random_13.txt AC 28 ms 3608 KiB
random_14.txt AC 13 ms 3600 KiB
random_15.txt AC 27 ms 3532 KiB
random_16.txt AC 24 ms 3564 KiB
random_17.txt AC 29 ms 3560 KiB
random_18.txt AC 2 ms 3584 KiB
random_19.txt AC 26 ms 3596 KiB
random_20.txt AC 6 ms 3644 KiB
sample_01.txt AC 3 ms 3528 KiB
sample_02.txt AC 2 ms 3580 KiB