Run ID: 19880

Main.cc: In function ‘bool check(int)’:
Main.cc:5:25: error: ‘bb’ was not declared in this scope
     return (!x%4||!x%7||bb(x)||aa(x));
                         ^~
Main.cc:5:32: error: ‘aa’ was not declared in this scope
     return (!x%4||!x%7||bb(x)||aa(x));
                                ^~
Main.cc:5:32: note: suggested alternative: ‘a’
     return (!x%4||!x%7||bb(x)||aa(x));
                                ^~
                                a
Main.cc: In function ‘bool aa(int)’:
Main.cc:8:46: error: expected ‘)’ before numeric constant
     for(int i=0;i<=c;i++) if(!((x/(pow(10,i))44)%100)) return 1;
                                              ^~
Main.cc:8:64: error: expected ‘)’ before ‘;’ token
     for(int i=0;i<=c;i++) if(!((x/(pow(10,i))44)%100)) return 1;
                                                                ^
Main.cc:8:64: error: expected ‘)’ before ‘;’ token
Main.cc: In function ‘bool bb(int)’:
Main.cc:12:46: error: expected ‘)’ before numeric constant
     for(int i=0;i<=c;i++) if(!((x/(pow(10,i))77)%100)) return 1;
                                              ^~
Main.cc:12:64: error: expected ‘)’ before ‘;’ token
     for(int i=0;i<=c;i++) if(!((x/(pow(10,i))77)%100)) return 1;
                                                                ^
Main.cc:12:64: error: expected ‘)’ before ‘;’ token
Main.cc: In function ‘int main()’:
Main.cc:16:11: error: ‘num’ was not declared in this scope
     while(num){
           ^~~
Main.cc:16:11: note: suggested alternative: ‘enum’
     while(num){
           ^~~
           enum
Main.cc:22:12: error: expected primary-expression before ‘)’ token
         if()
            ^
Main.cc:23:5: error: expected primary-expression before ‘}’ token
     }
     ^