0_0_36468036_9961.cpp: In function 'int main()':
0_0_36468036_9961.cpp:48:9: error: 'LL' was not declared in this scope
LL ans = 0, sum = 0, ok=0;
^
0_0_36468036_9961.cpp:51:27: error: 'ans' was not declared in this scope
if(in[i]%2==1)ans++;
^
0_0_36468036_9961.cpp:52:13: error: 'sum' was not declared in this scope
sum += in[i];
^
0_0_36468036_9961.cpp:55:30: error: 'ok' was not declared in this scope
if(mp[s]==0){ok++; mp[s]=1;}
^
0_0_36468036_9961.cpp:58:12: error: 'sum' was not declared in this scope
if(sum==0){cout<<"0\n"; continue;}
^
0_0_36468036_9961.cpp:59:9: error: 'sum' was not declared in this scope
sum = sum/2+(ok-1)*2;
^
0_0_36468036_9961.cpp:59:22: error: 'ok' was not declared in this scope
sum = sum/2+(ok-1)*2;
^
0_0_36468036_9961.cpp:60:12: error: 'ans' was not declared in this scope
if(ans>2){cout<<"-1\n"; continue;}
^
|