Language: C++

#include <iostream>
#include <string>
using namespace std;
int main(){
string s;
int i,N,first=0 ,sec=0 
,third=0, fourth=0;
cin>>N;
for(i=0; i<N ; i++){
cin>>s[i]; 
switch(s[i]+s[i+1]){
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:20:6: error: extended character “ is not valid in an identifier
   20 | case “AC” : cout<< “AC x “<< first<<endl   ; break;
      |      ^
a.cc:20:6: error: extended character ” is not valid in an identifier
a.cc:20:20: error: extended character “ is not valid in an identifier
   20 | case “AC” : cout<< “AC x “<< first<<endl   ; break;
      |                    ^
a.cc:20:26: error: extended character “ is not valid in an identifier
   20 | case “AC” : cout<< “AC x “<< first<<endl   ; break;
      |                          ^
a.cc:21:6: error: extended character “ is not valid in an identifier
   21 | case “TLE”: cout<< “TLE x “<< sec<<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 “TLE”: cout<< “TLE x “<< sec<<endl   ; break;
      |                    ^
a.cc:21:27: error: extended character “ is not valid in an identifier
   21 | case “TLE”: cout<< “TLE x “<< sec<<endl   ; break;
      |                           ^
a.cc:22:6: error: extended character “ is not valid in an identifier
   22 | case “WA”: cout<< “WA x “<< third<<endl   ; break;
      |      ^
a.cc:22:6: error: extended character ” is not valid in an identifier
a.cc:22:19: error: extended character “ is not valid in an identifier
   22 | case “WA”: cout<< “WA x “<< third<<endl   ; break;
      |                   ^
a.cc:22:25: error: extended character “ is not valid in an identifier
   22 | case “WA”: cout<< “WA x “<< third<<endl   ; break;
      |                         ^
a.cc:23:6: error: extended character “ is not valid in an identifier
   23 | case “RE”: cout<< “RE x “<< fourth<<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 “RE”: cout<< “RE x “<< fourth<<endl   ; break;
      |                   ^
a.cc:23:25: error: extended character “ is not valid in an identifier
   23 | case “RE”: cout<< “RE x “<< fourth<<endl   ; break;
      |                         ^
a.cc: In function 'int main()':
a.cc:12:6: error: '\U0000201cAC\U0000201d' was not declared in this scope
   12 | case “AC” : first++; break;
      |      ^~~~
a.cc:13:6: error: '\U0000201cTLE\U0000201d' was not declared in this scope
   13 | case “TLE”: sec++; break;
      |      ^~~~~
a.cc:14:6: error: '\U0000201cWA\U0000201d' was not declared in this scope
   14 | case “WA”: third++; break;
      |      ^~~~
a.cc:15:6: error: '\U0000201cRE\U0000201d' was not declared in this scope
   15 | case “RE”: fourth++; break;
      |      ^~~~
a.cc:20:6: error: '\U0000201cAC\U0000201d' was not declared in this scope
   20 | case “AC” : cout<< “AC x “<< first<<endl   ; break;
      |      ^~~~
a.cc:20:20: error: '\U0000201cAC' was not declared in this scope
   20 | case “AC” : cout<< “AC x “<< first<<endl   ; break;
      |                    ^~~
a.cc:21:6: error: '\U0000201cTLE\U0000201d' was not declared in this scope
   21 | case “TLE”: cout<< “TLE x “<< sec<<endl   ; break;
      |      ^~~~~
a.cc:21:20: error: '\U0000201cTLE' was not declared in this scope
   21 | case “TLE”: cout<< “TLE x “<< sec<<endl   ; break;
      |                    ^~~~
a.cc:22:6: error: '\U0000201cWA\U0000201d' was not declared in this scope
   22 | case “WA”: cout<< “WA x “<< third<<endl   ; break;
      |      ^~~~
a.cc:22:19: error: '\U0000201cWA' was not declared in this scope
   22 | case “WA”: cout<< “WA x “<< third<<endl   ; break;
      |                   ^~~
a.cc:23:6: error: '\U0000201cRE\U0000201d' was not declared in this scope
   23 | case “RE”: cout<< “RE x “<< fourth<<endl   ; break;
      |      ^~~~
a.cc:23:19: error: '\U0000201cRE' was not declared in this scope
   23 | case “RE”: cout<< “RE x “<< fourth<<endl   ; break;
      |                   ^~~