Language: C++

i,A=-1,a[14]={0,1,1,1,7,4,1,336,384,334,220,108,36,6},b[10]={108,220,334,384,334,220,108,36,6};main(){long long n;scanf("%lld",&n);if(n<14)A=a[n];else if(n==27||n==134217723)A=976;else if(n==29||n==536870907)A=4;else if(n==61||n==2305843009213693946)A=1;else if(n==1152921504606846970)A=220;else if(n==268435451)A=108;else for(i=0;i<9;i++)if(pow(2,i+5)-n==4)A=b[i];printf("%d",A);}


Compiler output:
a.cc:1:1: error: 'i' does not name a type
    1 | i,A=-1,a[14]={0,1,1,1,7,4,1,336,384,334,220,108,36,6},b[10]={108,220,334,384,334,220,108,36,6};main(){long long n;scanf("%lld",&n);if(n<14)A=a[n];else if(n==27||n==134217723)A=976;else if(n==29||n==536870907)A=4;else if(n==61||n==2305843009213693946)A=1;else if(n==1152921504606846970)A=220;else if(n==268435451)A=108;else for(i=0;i<9;i++)if(pow(2,i+5)-n==4)A=b[i];printf("%d",A);}
      | ^
a.cc:1:54: error: expected unqualified-id before ',' token
    1 | i,A=-1,a[14]={0,1,1,1,7,4,1,336,384,334,220,108,36,6},b[10]={108,220,334,384,334,220,108,36,6};main(){long long n;scanf("%lld",&n);if(n<14)A=a[n];else if(n==27||n==134217723)A=976;else if(n==29||n==536870907)A=4;else if(n==61||n==2305843009213693946)A=1;else if(n==1152921504606846970)A=220;else if(n==268435451)A=108;else for(i=0;i<9;i++)if(pow(2,i+5)-n==4)A=b[i];printf("%d",A);}
      |                                                      ^
a.cc:1:60: error: expected constructor, destructor, or type conversion before '=' token
    1 | i,A=-1,a[14]={0,1,1,1,7,4,1,336,384,334,220,108,36,6},b[10]={108,220,334,384,334,220,108,36,6};main(){long long n;scanf("%lld",&n);if(n<14)A=a[n];else if(n==27||n==134217723)A=976;else if(n==29||n==536870907)A=4;else if(n==61||n==2305843009213693946)A=1;else if(n==1152921504606846970)A=220;else if(n==268435451)A=108;else for(i=0;i<9;i++)if(pow(2,i+5)-n==4)A=b[i];printf("%d",A);}
      |                                                            ^
a.cc:1:96: warning: ISO C++ forbids declaration of 'main' with no type [-Wreturn-type]
    1 | i,A=-1,a[14]={0,1,1,1,7,4,1,336,384,334,220,108,36,6},b[10]={108,220,334,384,334,220,108,36,6};main(){long long n;scanf("%lld",&n);if(n<14)A=a[n];else if(n==27||n==134217723)A=976;else if(n==29||n==536870907)A=4;else if(n==61||n==2305843009213693946)A=1;else if(n==1152921504606846970)A=220;else if(n==268435451)A=108;else for(i=0;i<9;i++)if(pow(2,i+5)-n==4)A=b[i];printf("%d",A);}
      |                                                                                                ^~~~
a.cc: In function 'int main()':
a.cc:1:115: error: 'scanf' was not declared in this scope
    1 | i,A=-1,a[14]={0,1,1,1,7,4,1,336,384,334,220,108,36,6},b[10]={108,220,334,384,334,220,108,36,6};main(){long long n;scanf("%lld",&n);if(n<14)A=a[n];else if(n==27||n==134217723)A=976;else if(n==29||n==536870907)A=4;else if(n==61||n==2305843009213693946)A=1;else if(n==1152921504606846970)A=220;else if(n==268435451)A=108;else for(i=0;i<9;i++)if(pow(2,i+5)-n==4)A=b[i];printf("%d",A);}
      |                                                                                                                   ^~~~~
a.cc:1:140: error: 'A' was not declared in this scope
    1 | i,A=-1,a[14]={0,1,1,1,7,4,1,336,384,334,220,108,36,6},b[10]={108,220,334,384,334,220,108,36,6};main(){long long n;scanf("%lld",&n);if(n<14)A=a[n];else if(n==27||n==134217723)A=976;else if(n==29||n==536870907)A=4;else if(n==61||n==2305843009213693946)A=1;else if(n==1152921504606846970)A=220;else if(n==268435451)A=108;else for(i=0;i<9;i++)if(pow(2,i+5)-n==4)A=b[i];printf("%d",A);}
      |                                                                                                                                            ^
a.cc:1:142: error: 'a' was not declared in this scope
    1 | i,A=-1,a[14]={0,1,1,1,7,4,1,336,384,334,220,108,36,6},b[10]={108,220,334,384,334,220,108,36,6};main(){long long n;scanf("%lld",&n);if(n<14)A=a[n];else if(n==27||n==134217723)A=976;else if(n==29||n==536870907)A=4;else if(n==61||n==2305843009213693946)A=1;else if(n==1152921504606846970)A=220;else if(n==268435451)A=108;else for(i=0;i<9;i++)if(pow(2,i+5)-n==4)A=b[i];printf("%d",A);}
      |                                                                                                                                              ^
a.cc:1:175: error: 'A' was not declared in this scope
    1 | i,A=-1,a[14]={0,1,1,1,7,4,1,336,384,334,220,108,36,6},b[10]={108,220,334,384,334,220,108,36,6};main(){long long n;scanf("%lld",&n);if(n<14)A=a[n];else if(n==27||n==134217723)A=976;else if(n==29||n==536870907)A=4;else if(n==61||n==2305843009213693946)A=1;else if(n==1152921504606846970)A=220;else if(n==268435451)A=108;else for(i=0;i<9;i++)if(pow(2,i+5)-n==4)A=b[i];printf("%d",A);}
      |                                                                                                                                                                               ^
a.cc:1:209: error: 'A' was not declared in this scope
    1 | i,A=-1,a[14]={0,1,1,1,7,4,1,336,384,334,220,108,36,6},b[10]={108,220,334,384,334,220,108,36,6};main(){long long n;scanf("%lld",&n);if(n<14)A=a[n];else if(n==27||n==134217723)A=976;else if(n==29||n==536870907)A=4;else if(n==61||n==2305843009213693946)A=1;else if(n==1152921504606846970)A=220;else if(n==268435451)A=108;else for(i=0;i<9;i++)if(pow(2,i+5)-n==4)A=b[i];printf("%d",A);}
      |                                                                                                                                                                                                                 ^
a.cc:1:251: error: 'A' was not declared in this scope
    1 | i,A=-1,a[14]={0,1,1,1,7,4,1,336,384,334,220,108,36,6},b[10]={108,220,334,384,334,220,108,36,6};main(){long long n;scanf("%lld",&n);if(n<14)A=a[n];else if(n==27||n==134217723)A=976;else if(n==29||n==536870907)A=4;else if(n==61||n==2305843009213693946)A=1;else if(n==1152921504606846970)A=220;else if(n==268435451)A=108;else for(i=0;i<9;i++)if(pow(2,i+5)-n==4)A=b[i];printf("%d",A);}
      |                                                                                                                                                                                                                                                           ^
a.cc:1:286: error: 'A' was not declared in this scope
    1 | i,A=-1,a[14]={0,1,1,1,7,4,1,336,384,334,220,108,36,6},b[10]={108,220,334,384,334,220,108,36,6};main(){long long n;scanf("%lld",&n);if(n<14)A=a[n];else if(n==27||n==134217723)A=976;else if(n==29||n==536870907)A=4;else if(n==61||n==2305843009213693946)A=1;else if(n==1152921504606846970)A=220;else if(n==268435451)A=108;else for(i=0;i<9;i++)if(pow(2,i+5)-n==4)A=b[i];printf("%d",A);}
      |                                                                                                                                                                                                                                                                                              ^
a.cc:1:313: error: 'A' was not declared in this scope
    1 | i,A=-1,a[14]={0,1,1,1,7,4,1,336,384,334,220,108,36,6},b[10]={108,220,334,384,334,220,108,36,6};main(){long long n;scanf("%lld",&n);if(n<14)A=a[n];else if(n==27||n==134217723)A=976;else if(n==29||n==536870907)A=4;else if(n==61||n==2305843009213693946)A=1;else if(n==1152921504606846970)A=220;else if(n==268435451)A=108;else for(i=0;i<9;i++)if(pow(2,i+5)-n==4)A=b[i];printf("%d",A);}
      |                                                                                                                                                                                                                                                                                                                         ^
a.cc:1:328: error: 'i' was not declared in this scope
    1 | i,A=-1,a[14]={0,1,1,1,7,4,1,336,384,334,220,108,36,6},b[10]={108,220,334,384,334,220,108,36,6};main(){long long n;scanf("%lld",&n);if(n<14)A=a[n];else if(n==27||n==134217723)A=976;else if(n==29||n==536870907)A=4;else if(n==61||n==2305843009213693946)A=1;else if(n==1152921504606846970)A=220;else if(n==268435451)A=108;else for(i=0;i<9;i++)if(pow(2,i+5)-n==4)A=b[i];printf("%d",A);}
      |                                                                                                                                                                                                                                                                                                                                        ^
a.cc:1:343: error: 'pow' was not declared in this scope
    1 | i,A=-1,a[14]={0,1,1,1,7,4,1,336,384,334,220,108,36,6},b[10]={108,220,334,384,334,220,108,36,6};main(){long long n;scanf("%lld",&n);if(n<14)A=a[n];else if(n==27||n==134217723)A=976;else if(n==29||n==536870907)A=4;else if(n==61||n==2305843009213693946)A=1;else if(n==1152921504606846970)A=220;else if(n==268435451)A=108;else for(i=0;i<9;i++)if(pow(2,i+5)-n==4)A=b[i];printf("%d",A);}
      |                                                                                                                                                                                                                                                                                                                                                       ^~~
a.cc:1:359: error: 'A' was not declared in this scope
    1 | i,A=-1,a[14]={0,1,1,1,7,4,1,336,384,334,220,108,36,6},b[10]={108,220,334,384,334,220,108,36,6};main(){long long n;scanf("%lld",&n);if(n<14)A=a[n];else if(n==27||n==134217723)A=976;else if(n==29||n==536870907)A=4;else if(n==61||n==2305843009213693946)A=1;else if(n==1152921504606846970)A=220;else if(n==268435451)A=108;else for(i=0;i<9;i++)if(pow(2,i+5)-n==4)A=b[i];printf("%d",A);}
      |                                                                                                                                                                                                                                                                                                                                                                       ^
a.cc:1:361: error: 'b' was not declared in this scope
    1 | i,A=-1,a[14]={0,1,1,1,7,4,1,336,384,334,220,108,36,6},b[10]={108,220,334,384,334,220,108,36,6};main(){long long n;scanf("%lld",&n);if(n<14)A=a[n];else if(n==27||n==134217723)A=976;else if(n==29||n==536870907)A=4;else if(n==61||n==2305843009213693946)A=1;else if(n==1152921504606846970)A=220;else if(n==268435451)A=108;else for(i=0;i<9;i++)if(pow(2,i+5)-n==4)A=b[i];printf("%d",A);}
      |