Language: C++

#include <iostream>

using namespace std;

int main() {
	int d[101]={0},
????????????a,m=0;
    while(cin>>a){
        d[a]++;
        m=max(m,d[a]);
    }
    for(int i=1;i<=100;i++){
        if(m==d[i])
????????????cout<<i<<endl;
    }
	return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:7:1: error: expected unqualified-id before '?' token
    7 | ????????????a,m=0;
      | ^
a.cc:8:16: error: 'a' was not declared in this scope
    8 |     while(cin>>a){
      |                ^
a.cc:10:9: error: 'm' was not declared in this scope
   10 |         m=max(m,d[a]);
      |         ^
a.cc:13:12: error: 'm' was not declared in this scope
   13 |         if(m==d[i])
      |            ^
a.cc:14:1: error: expected primary-expression before '?' token
   14 | ????????????cout<<i<<endl;
      | ^
a.cc:14:2: error: expected primary-expression before '?' token
   14 | ????????????cout<<i<<endl;
      |  ^
a.cc:14:3: error: expected primary-expression before '?' token
   14 | ????????????cout<<i<<endl;
      |   ^
a.cc:14:4: error: expected primary-expression before '?' token
   14 | ????????????cout<<i<<endl;
      |    ^
a.cc:14:5: error: expected primary-expression before '?' token
   14 | ????????????cout<<i<<endl;
      |     ^
a.cc:14:6: error: expected primary-expression before '?' token
   14 | ????????????cout<<i<<endl;
      |      ^
a.cc:14:7: error: expected primary-expression before '?' token
   14 | ????????????cout<<i<<endl;
      |       ^
a.cc:14:8: error: expected primary-expression before '?' token
   14 | ????????????cout<<i<<endl;
      |        ^
a.cc:14:9: error: expected primary-expression before '?' token
   14 | ????????????cout<<i<<endl;
      |         ^
a.cc:14:10: error: expected primary-expression before '?' token
   14 | ????????????cout<<i<<endl;
      |          ^
a.cc:14:11: error: expected primary-expression before '?' token
   14 | ????????????cout<<i<<endl;
      |           ^
a.cc:14:12: error: expected primary-expression before '?' token
   14 | ????????????cout<<i<<endl;
      |            ^
a.cc:14:26: error: expected ':' before ';' token
   14 | ????????????cout<<i<<endl;
      |                          ^
      |                          :
a.cc:14:26: error: expected primary-expression before ';' token
a.cc:14:26: error: expected ':' before ';' token
   14 | ????????????cout<<i<<endl;
      |                          ^
      |                          :
a.cc:14:26: error: expected primary-expression before ';' token
a.cc:14:26: error: expected ':' before ';' token
   14 | ????????????cout<<i<<endl;
      |                          ^
      |                          :
a.cc:14:26: error: expected primary-expression before ';' token
a.cc:14:26: error: expected ':' before ';' token
   14 | ????????????cout<<i<<endl;
      |                          ^
      |                          :
a.cc:14:26: error: expected primary-expression before ';' token
a.cc:14:26: error: expected ':' before ';' token
   14 | ????????????cout<<i<<endl;
      |                          ^
      |                          :
a.cc:14:26: error: expected primary-expression before ';' token
a.cc:14:26: error: expected ':' before ';' token
   14 | ????????????cout<<i<<endl;
      |                          ^
      |                          :
a.cc:14:26: error: expected primary-expression before ';' token
a.cc:14:26: error: expected ':' before ';' token
   14 | ????????????cout<<i<<endl;
      |                          ^
      |                          :
a.cc:14:26: error: expected primary-expression before ';' token
a.cc:14:26: error: expected ':' before ';' token
   14 | ????????????cout<<i<<endl;
      |                          ^
      |                          :
a.cc:14:26: error: expected primary-expression before ';' token
a.cc:14:26: error: expected ':' before ';' token
   14 | ????????????cout<<i<<endl;
      |                          ^
      |                          :
a.cc:14:26: error: expected primary-expression before ';' token
a.cc:14:26: error: expected ':' before ';' token
   14 | ????????????cout<<i<<endl;
      |                          ^
      |                          :
a.cc:14:26: error: expected primary-expression before ';' token
a.cc:14:26: error: expected ':' before ';' token
   14 | ????????????cout<<i<<endl;
      |                          ^
      |                          :
a.cc:14:26: error: expected primary-expression before ';' token
a.cc:14:26: error: expected ':' before ';' token
   14 | ????????????cout<<i<<endl;
      |                          ^
      |                          :
a.cc:14:26: error: expected primary-expression before ';' token