Language: C++

#include <iostream>
#include <string>
using namespace std;
int main(){
char s[100];
int i,a,b,N,first=0 ,sec=0 
,third=0, fouth=0;
cin>>N;
for(i=0; i<N ; i++){
cin>>s[i] 
switch(s[i]){
case “AC” : first++; break;
case “TLE”: sec++; break;
case “WA”: third++; break;
case “RE”: fourth++; break;
}}

for(i=0; i<N ; i++){
switch(s[i]){

case “AC” : cout<< “AC x “<< first<<endl   ; break;
case “TLE”: cout<< “TLE x “<< sec<<endl   ; break;
case “WA”: cout<< “WA x “<< third<<endl   ; break;
case “RE”: cout<< “RE x “<< fourth<<endl   ; break;
}}


return 0;}

Compiler output:
a.cc:12:6: error: extended character “ is not valid in an identifier
   12 | case “AC” : first++; break;
      |      ^
a.cc:12:6: error: extended character ” is not valid in an identifier
a.cc:13:6: error: extended character “ is not valid in an identifier
   13 | case “TLE”: sec++; break;
      |      ^
a.cc:13:6: error: extended character ” is not valid in an identifier
a.cc:14:6: error: extended character “ is not valid in an identifier
   14 | case “WA”: third++; break;
      |      ^
a.cc:14:6: error: extended character ” is not valid in an identifier
a.cc:15:6: error: extended character “ is not valid in an identifier
   15 | case “RE”: fourth++; break;
      |      ^
a.cc:15:6: error: extended character ” is not valid in an identifier
a.cc:21:6: error: extended character “ is not valid in an identifier
   21 | case “AC” : cout<< “AC x “<< first<<endl   ; break;
      |      ^
a.cc:21:6: error: extended character ” is not valid in an identifier
a.cc:21:20: error: extended character “ is not valid in an identifier
   21 | case “AC” : cout<< “AC x “<< first<<endl   ; break;
      |                    ^
a.cc:21:26: error: extended character “ is not valid in an identifier
   21 | case “AC” : cout<< “AC x “<< first<<endl   ; break;
      |                          ^
a.cc:22:6: error: extended character “ is not valid in an identifier
   22 | case “TLE”: cout<< “TLE x “<< sec<<endl   ; break;
      |      ^
a.cc:22:6: error: extended character ” is not valid in an identifier
a.cc:22:20: error: extended character “ is not valid in an identifier
   22 | case “TLE”: cout<< “TLE x “<< sec<<endl   ; break;
      |                    ^
a.cc:22:27: error: extended character “ is not valid in an identifier
   22 | case “TLE”: cout<< “TLE x “<< sec<<endl   ; break;
      |                           ^
a.cc:23:6: error: extended character “ is not valid in an identifier
   23 | case “WA”: cout<< “WA x “<< third<<endl   ; break;
      |      ^
a.cc:23:6: error: extended character ” is not valid in an identifier
a.cc:23:19: error: extended character “ is not valid in an identifier
   23 | case “WA”: cout<< “WA x “<< third<<endl   ; break;
      |                   ^
a.cc:23:25: error: extended character “ is not valid in an identifier
   23 | case “WA”: cout<< “WA x “<< third<<endl   ; break;
      |                         ^
a.cc:24:6: error: extended character “ is not valid in an identifier
   24 | case “RE”: cout<< “RE x “<< fourth<<endl   ; break;
      |      ^
a.cc:24:6: error: extended character ” is not valid in an identifier
a.cc:24:19: error: extended character “ is not valid in an identifier
   24 | case “RE”: cout<< “RE x “<< fourth<<endl   ; break;
      |                   ^
a.cc:24:25: error: extended character “ is not valid in an identifier
   24 | case “RE”: cout<< “RE x “<< fourth<<endl   ; break;
      |                         ^
a.cc: In function 'int main()':
a.cc:10:10: error: expected ';' before 'switch'
   10 | cin>>s[i]
      |          ^
      |          ;
   11 | switch(s[i]){
      | ~~~~~~    
a.cc:21:6: error: '\U0000201cAC\U0000201d' was not declared in this scope
   21 | case “AC” : cout<< “AC x “<< first<<endl   ; break;
      |      ^~~~
a.cc:21:20: error: '\U0000201cAC' was not declared in this scope
   21 | case “AC” : cout<< “AC x “<< first<<endl   ; break;
      |                    ^~~
a.cc:22:6: error: '\U0000201cTLE\U0000201d' was not declared in this scope
   22 | case “TLE”: cout<< “TLE x “<< sec<<endl   ; break;
      |      ^~~~~
a.cc:22:20: error: '\U0000201cTLE' was not declared in this scope
   22 | case “TLE”: cout<< “TLE x “<< sec<<endl   ; break;
      |                    ^~~~
a.cc:23:6: error: '\U0000201cWA\U0000201d' was not declared in this scope
   23 | case “WA”: cout<< “WA x “<< third<<endl   ; break;
      |      ^~~~
a.cc:23:19: error: '\U0000201cWA' was not declared in this scope
   23 | case “WA”: cout<< “WA x “<< third<<endl   ; break;
      |                   ^~~
a.cc:24:6: error: '\U0000201cRE\U0000201d' was not declared in this scope
   24 | case “RE”: cout<< “RE x “<< fourth<<endl   ; break;
      |      ^~~~
a.cc:24:19: error: '\U0000201cRE' was not declared in this scope
   24 | case “RE”: cout<< “RE x “<< fourth<<endl   ; break;
      |                   ^~~