0_0_29044139_20377.cpp: In function 'int main()':
0_0_29044139_20377.cpp:9:12: error: 'ans' was not declared in this scope
memset(ans,-1,sizeof(ans));
^
0_0_29044139_20377.cpp:18:18: error: invalid types 'double[double]' for array subscript
ans[n] = cans;
^
|