0_0_19775477_8058.cpp: In function 'int main()':
0_0_19775477_8058.cpp:44:20: error: two or more data types in declaration of 'ans'
double double ans=0;
^
0_0_19775477_8058.cpp:46:24: error: 'ans' was not declared in this scope
if(a[i].dead<i)ans+=a[i].reduce;
^
0_0_19775477_8058.cpp:48:11: error: 'ans' was not declared in this scope
cout<<ans<<endl;
^
|