0_0_31919514_32206.cpp:5:26: error: 'acos' was not declared in this scope
const double PI = acos(-1);
^
0_0_31919514_32206.cpp:6:1: error: 'll' does not name a type
ll inv(ll b){if(b==1)return 1; return (mod-mod/b)*inv(mod%b)%mod;}
^
0_0_31919514_32206.cpp:7:1: error: 'll' does not name a type
ll fpow(ll n,ll k){ll r=1;for(;k;k>>=1){if(k&1)r=r*n%mod;n=n*n%mod;}return r;}
^
0_0_31919514_32206.cpp: In function 'int main()':
0_0_31919514_32206.cpp:11:5: error: 'll' was not declared in this scope
ll t,n,i,j,k,cas = 1;
^
0_0_31919514_32206.cpp:12:12: error: 't' was not declared in this scope
for(sl(t);t--;)
^
0_0_31919514_32206.cpp:12:13: error: 'sl' was not declared in this scope
for(sl(t);t--;)
^
0_0_31919514_32206.cpp:14:12: error: 'n' was not declared in this scope
sl(n);
^
0_0_31919514_32206.cpp:15:12: error: expected ';' before 'ans'
ll ans = 0;
^
0_0_31919514_32206.cpp:16:13: error: 'i' was not declared in this scope
for(i = 0;i < n;i++)
^
0_0_31919514_32206.cpp:18:28: error: 'scanf' was not declared in this scope
scanf("%s",temp);
^
0_0_31919514_32206.cpp:20:34: error: 'strcmp' was not declared in this scope
if(strcmp(temp,"long") == 0)
^
0_0_31919514_32206.cpp:22:25: error: 'getchar' was not declared in this scope
getchar();
^
0_0_31919514_32206.cpp:23:23: error: 'gets' was not declared in this scope
gets(s);
^
0_0_31919514_32206.cpp:26:24: error: expected ';' before 'tt'
ll tt = 0,flag = 0;
^
0_0_31919514_32206.cpp:27:25: error: 'j' was not declared in this scope
for(j = 0;s[j];j++)
^
0_0_31919514_32206.cpp:31:29: error: 'flag' was not declared in this scope
flag = 1;
^
0_0_31919514_32206.cpp:34:33: error: 'tt' was not declared in this scope
tt = tt*10+(s[j]-'0');
^
0_0_31919514_32206.cpp:38:24: error: 'flag' was not declared in this scope
if(flag) ans += tt*8;
^
0_0_31919514_32206.cpp:38:30: error: 'ans' was not declared in this scope
if(flag) ans += tt*8;
^
0_0_31919514_32206.cpp:38:37: error: 'tt' was not declared in this scope
if(flag) ans += tt*8;
^
0_0_31919514_32206.cpp:39:26: error: 'ans' was not declared in this scope
else ans += 8;
^
0_0_31919514_32206.cpp:43:24: error: expected ';' before 'tt'
ll tt = 0,flag = 0;
^
0_0_31919514_32206.cpp:44:25: error: 'j' was not declared in this scope
for(j = 0;s[j];j++)
^
0_0_31919514_32206.cpp:48:29: error: 'flag' was not declared in this scope
flag = 1;
^
0_0_31919514_32206.cpp:51:33: error: 'tt' was not declared in this scope
tt = tt*10+(s[j]-'0');
^
0_0_31919514_32206.cpp:55:24: error: 'flag' was not declared in this scope
if(flag) ans += tt*16;
^
0_0_31919514_32206.cpp:55:30: error: 'ans' was not declared in this scope
if(flag) ans += tt*16;
^
0_0_31919514_32206.cpp:55:37: error: 'tt' was not declared in this scope
if(flag) ans += tt*16;
^
0_0_31919514_32206.cpp:56:26: error: 'ans' was not declared in this scope
else ans += 16;
^
0_0_31919514_32206.cpp:61:20: error: expected ';' before 'tt'
ll tt = 0,flag = 0;
^
0_0_31919514_32206.cpp:62:21: error: 'j' was not declared in this scope
for(j = 0;now[j];j++)
^
0_0_31919514_32206.cpp:66:25: error: 'flag' was not declared in this scope
flag = 1;
^
0_0_31919514_32206.cpp:69:29: error: 'tt' was not declared in this scope
tt = tt*10+(now[j]-'0');
^
0_0_31919514_32206.cpp:73:20: error: 'flag' was not declared in this scope
if(flag) ans += tt*4;
^
0_0_31919514_32206.cpp:73:26: error: 'ans' was not declared in this scope
if(flag) ans += tt*4;
^
0_0_31919514_32206.cpp:73:33: error: 'tt' was not declared in this scope
if(flag) ans += tt*4;
^
0_0_31919514_32206.cpp:74:22: error: 'ans' was not declared in this scope
else ans += 4;
^
0_0_31919514_32206.cpp:78:20: error: expected ';' before 'tt'
ll tt = 0,flag = 0;
^
0_0_31919514_32206.cpp:79:21: error: 'j' was not declared in this scope
for(j = 0;now[j];j++)
^
0_0_31919514_32206.cpp:83:25: error: 'flag' was not declared in this scope
flag = 1;
^
0_0_31919514_32206.cpp:86:29: error: 'tt' was not declared in this scope
tt = tt*10+(now[j]-'0');
^
0_0_31919514_32206.cpp:90:20: error: 'flag' was not declared in this scope
if(flag) ans += tt*8;
^
0_0_31919514_32206.cpp:90:26: error: 'ans' was not declared in this scope
if(flag) ans += tt*8;
^
0_0_31919514_32206.cpp:90:33: error: 'tt' was not declared in this scope
if(flag) ans += tt*8;
^
0_0_31919514_32206.cpp:91:22: error: 'ans' was not declared in this scope
else ans += 8;
^
0_0_31919514_32206.cpp:95:20: error: expected ';' before 'tt'
ll tt = 0,flag = 0;
^
0_0_31919514_32206.cpp:96:21: error: 'j' was not declared in this scope
for(j = 0;now[j];j++)
^
0_0_31919514_32206.cpp:100:25: error: 'flag' was not declared in this scope
flag = 1;
^
0_0_31919514_32206.cpp:103:29: error: 'tt' was not declared in this scope
tt = tt*10+(now[j]-'0');
^
0_0_31919514_32206.cpp:107:20: error: 'flag' was not declared in this scope
if(flag) ans += tt*16;
^
0_0_31919514_32206.cpp:107:26: error: 'ans' was not declared in this scope
if(flag) ans += tt*16;
^
0_0_31919514_32206.cpp:107:33: error: 'tt' was not declared in this scope
if(flag) ans += tt*16;
^
0_0_31919514_32206.cpp:108:22: error: 'ans' was not declared in this scope
else ans += 16;
^
0_0_31919514_32206.cpp:112:20: error: expected ';' before 'tt'
ll tt = 0,flag = 0;
^
0_0_31919514_32206.cpp:113:21: error: 'j' was not declared in this scope
for(j = 0;now[j];j++)
^
0_0_31919514_32206.cpp:117:25: error: 'flag' was not declared in this scope
flag = 1;
^
0_0_31919514_32206.cpp:120:29: error: 'tt' was not declared in this scope
tt = tt*10+(now[j]-'0');
^
0_0_31919514_32206.cpp:124:20: error: 'flag' was not declared in this scope
if(flag) ans += tt;
^
0_0_31919514_32206.cpp:124:26: error: 'ans' was not declared in this scope
if(flag) ans += tt;
^
0_0_31919514_32206.cpp:124:33: error: 'tt' was not declared in this scope
if(flag) ans += tt;
^
0_0_31919514_32206.cpp:125:22: error: 'ans' was not declared in this scope
else ans += 1;
^
0_0_31919514_32206.cpp:128:16: error: 'ans' was not declared in this scope
if(ans % 1024) ans = ans/1024+1;
^
0_0_31919514_32206.cpp:130:41: error: 'cas' was not declared in this scope
printf("Case #%lld: %lld\n",cas++,ans);
^
0_0_31919514_32206.cpp:130:47: error: 'ans' was not declared in this scope
printf("Case #%lld: %lld\n",cas++,ans);
^
0_0_31919514_32206.cpp:130:50: error: 'printf' was not declared in this scope
printf("Case #%lld: %lld\n",cas++,ans);
^
|