Language: C++

#include<iostream>
#include<string>
using namespace std;
bool l[1000];
int main(){
??int n,m;
??string s;
??while(true){
??cin>>m>>n;
??if(n+m==0)
??break;
??for(int i=0;i<m;i++)
??l[i]=true;
??int h=0;
??int ans=m,keep=0;
??for(int i=1;i<=n;i++){
??????????cin>>s;
??????????while(true){
????????????if(l[h]==true){
??????????????????if(i%15==0&&s!="FizzBuzz"){
??????????????????l[h]=false;
??????????????????ans--;
??????????????????}
??????????????????if((i%15!=0&&i%5==0&&s!="Buzz")||(i%15!=0&&i%3==0&&s!="Fizz")){
??????????????????l[h]=false;
??????????????????ans--;
??????????????????}
         if(i%3!=0&&i%5!=0){
             int a=1,b=0;
             for(int j=0;j<s.size();j++){
                 b+=a*s[s.size()-1-j];
                 a*=10;
             }
             if(b!=i){
                 l[h]=false;
                 ans--;
             }
         }
??????????????????break; 
????????????}
????????????h++;
????????????h%=m;
??????????}
??????????if(ans==1){
??????????????????keep=n-i;
??????????????????break;
??????????}
??????????h++;
??????????h%=m;
??}
??for(int i=0;i<keep;i++)
??cin>>s;
??bool first=true;
??for(int i=0;i<m;i++){
????if(l[i]==true){
????????????if(first==false)
????????????cout<<" ";
????????????cout<<i+1;
????????????first=false;
????}
??}
??cout<<endl;
??}
??return 0;???? 
}

Compiler output:
a.cc: In function 'int main()':
a.cc:6:1: error: expected primary-expression before '?' token
    6 | ??int n,m;
      | ^
a.cc:6:2: error: expected primary-expression before '?' token
    6 | ??int n,m;
      |  ^
a.cc:6:3: error: expected primary-expression before 'int'
    6 | ??int n,m;
      |   ^~~
a.cc:6:3: error: expected ':' before 'int'
    6 | ??int n,m;
      |   ^~~
      |   :
a.cc:6:3: error: expected primary-expression before 'int'
    6 | ??int n,m;
      |   ^~~
a.cc:6:3: error: expected ':' before 'int'
    6 | ??int n,m;
      |   ^~~
      |   :
a.cc:6:3: error: expected primary-expression before 'int'
    6 | ??int n,m;
      |   ^~~
a.cc:7:1: error: expected primary-expression before '?' token
    7 | ??string s;
      | ^
a.cc:7:2: error: expected primary-expression before '?' token
    7 | ??string s;
      |  ^
a.cc:7:10: error: expected primary-expression before 's'
    7 | ??string s;
      |          ^
a.cc:7:9: error: expected ':' before 's'
    7 | ??string s;
      |         ^~
      |         :
a.cc:7:10: error: 's' was not declared in this scope
    7 | ??string s;
      |          ^
a.cc:7:11: error: expected ':' before ';' token
    7 | ??string s;
      |           ^
      |           :
a.cc:7:11: error: expected primary-expression before ';' token
a.cc:8:1: error: expected primary-expression before '?' token
    8 | ??while(true){
      | ^
a.cc:8:2: error: expected primary-expression before '?' token
    8 | ??while(true){
      |  ^
a.cc:8:3: error: expected primary-expression before 'while'
    8 | ??while(true){
      |   ^~~~~
a.cc:8:3: error: expected ':' before 'while'
    8 | ??while(true){
      |   ^~~~~
      |   :
a.cc:8:3: error: expected primary-expression before 'while'
    8 | ??while(true){
      |   ^~~~~
a.cc:8:3: error: expected ':' before 'while'
    8 | ??while(true){
      |   ^~~~~
      |   :
a.cc:8:3: error: expected primary-expression before 'while'
    8 | ??while(true){
      |   ^~~~~
a.cc:64:1: error: expected primary-expression before '?' token
   64 | ??return 0;????
      | ^
a.cc:64:2: error: expected primary-expression before '?' token
   64 | ??return 0;????
      |  ^
a.cc:64:3: error: expected primary-expression before 'return'
   64 | ??return 0;????
      |   ^~~~~~
a.cc:64:3: error: expected ':' before 'return'
   64 | ??return 0;????
      |   ^~~~~~
      |   :
a.cc:64:3: error: expected primary-expression before 'return'
   64 | ??return 0;????
      |   ^~~~~~
a.cc:64:3: error: expected ':' before 'return'
   64 | ??return 0;????
      |   ^~~~~~
      |   :
a.cc:64:3: error: expected primary-expression before 'return'
   64 | ??return 0;????
      |   ^~~~~~
a.cc:64:12: error: expected primary-expression before '?' token
   64 | ??return 0;????
      |            ^
a.cc:64:13: error: expected primary-expression before '?' token
   64 | ??return 0;????
      |             ^
a.cc:64:14: error: expected primary-expression before '?' token
   64 | ??return 0;????
      |              ^
a.cc:64:15: error: expected primary-expression before '?' token
   64 | ??return 0;????
      |               ^
a.cc:65:1: error: expected primary-expression before '}' token
   65 | }
      | ^
a.cc:64:16: error: expected ':' before '}' token
   64 | ??return 0;????
      |                ^
      |                :
   65 | }
      | ~               
a.cc:65:1: error: expected primary-expression before '}' token
   65 | }
      | ^
a.cc:64:16: error: expected ':' before '}' token
   64 | ??return 0;????
      |                ^
      |                :
   65 | }
      | ~               
a.cc:65:1: error: expected primary-expression before '}' token
   65 | }
      | ^
a.cc:64:16: error: expected ':' before '}' token
   64 | ??return 0;????
      |                ^
      |                :
   65 | }
      | ~               
a.cc:65:1: error: expected primary-expression before '}' token
   65 | }
      | ^
a.cc:64:16: error: expected ':' before '}' token
   64 | ??return 0;????
      |                ^
      |                :
   65 | }
      | ~               
a.cc:65:1: error: expected primary-expression before '}' token
   65 | }
      | ^