Language: C++

#include <iostream>
#include <string>
using namespace std;
int main(){
char s[100];
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]){
case “A”: first++; break;
case “T”: sec++; break;
case “W”: third++; break;
case “R”: fourth++; break;
}}
for (i=0; i<N ; i++){
switch(s[i]){

case “A”: cout<< “AC x “<< first<<endl   ; break;
case “T”: cout<< “TLE x “<< sec<<endl   ; break;
case “W”: cout<< “WA x “<< third<<endl   ; break;
case “R” : 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 “A”: 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 “T”: 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 “W”: 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 “R”: 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 “A”: cout<< “AC x “<< first<<endl   ; break;
      |      ^
a.cc:20:6: error: extended character ” is not valid in an identifier
a.cc:20:18: error: extended character “ is not valid in an identifier
   20 | case “A”: cout<< “AC x “<< first<<endl   ; break;
      |                  ^
a.cc:20:24: error: extended character “ is not valid in an identifier
   20 | case “A”: cout<< “AC x “<< first<<endl   ; break;
      |                        ^
a.cc:21:6: error: extended character “ is not valid in an identifier
   21 | case “T”: cout<< “TLE x “<< sec<<endl   ; break;
      |      ^
a.cc:21:6: error: extended character ” is not valid in an identifier
a.cc:21:18: error: extended character “ is not valid in an identifier
   21 | case “T”: cout<< “TLE x “<< sec<<endl   ; break;
      |                  ^
a.cc:21:25: error: extended character “ is not valid in an identifier
   21 | case “T”: cout<< “TLE x “<< sec<<endl   ; break;
      |                         ^
a.cc:22:6: error: extended character “ is not valid in an identifier
   22 | case “W”: cout<< “WA x “<< third<<endl   ; break;
      |      ^
a.cc:22:6: error: extended character ” is not valid in an identifier
a.cc:22:18: error: extended character “ is not valid in an identifier
   22 | case “W”: cout<< “WA x “<< third<<endl   ; break;
      |                  ^
a.cc:22:24: error: extended character “ is not valid in an identifier
   22 | case “W”: cout<< “WA x “<< third<<endl   ; break;
      |                        ^
a.cc:23:6: error: extended character “ is not valid in an identifier
   23 | case “R” : 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 “R” : cout<< “RE x “<< fourth<<endl   ; break;
      |                   ^
a.cc:23:25: error: extended character “ is not valid in an identifier
   23 | case “R” : cout<< “RE x “<< fourth<<endl   ; break;
      |                         ^
a.cc: In function 'int main()':
a.cc:12:6: error: '\U0000201cA\U0000201d' was not declared in this scope
   12 | case “A”: first++; break;
      |      ^~~
a.cc:13:6: error: '\U0000201cT\U0000201d' was not declared in this scope
   13 | case “T”: sec++; break;
      |      ^~~
a.cc:14:6: error: '\U0000201cW\U0000201d' was not declared in this scope
   14 | case “W”: third++; break;
      |      ^~~
a.cc:15:6: error: '\U0000201cR\U0000201d' was not declared in this scope
   15 | case “R”: fourth++; break;
      |      ^~~
a.cc:20:6: error: '\U0000201cA\U0000201d' was not declared in this scope
   20 | case “A”: cout<< “AC x “<< first<<endl   ; break;
      |      ^~~
a.cc:20:18: error: '\U0000201cAC' was not declared in this scope
   20 | case “A”: cout<< “AC x “<< first<<endl   ; break;
      |                  ^~~
a.cc:21:6: error: '\U0000201cT\U0000201d' was not declared in this scope
   21 | case “T”: cout<< “TLE x “<< sec<<endl   ; break;
      |      ^~~
a.cc:21:18: error: '\U0000201cTLE' was not declared in this scope
   21 | case “T”: cout<< “TLE x “<< sec<<endl   ; break;
      |                  ^~~~
a.cc:22:6: error: '\U0000201cW\U0000201d' was not declared in this scope
   22 | case “W”: cout<< “WA x “<< third<<endl   ; break;
      |      ^~~
a.cc:22:18: error: '\U0000201cWA' was not declared in this scope
   22 | case “W”: cout<< “WA x “<< third<<endl   ; break;
      |                  ^~~
a.cc:23:6: error: '\U0000201cR\U0000201d' was not declared in this scope
   23 | case “R” : cout<< “RE x “<< fourth<<endl   ; break;
      |      ^~~
a.cc:23:19: error: '\U0000201cRE' was not declared in this scope
   23 | case “R” : cout<< “RE x “<< fourth<<endl   ; break;
      |                   ^~~