Problem hotspot
User PlayVoltz
Submission Time 2024-02-21 15:56:52
Score 0
Max Time N/A
Max Memory N/A

Compile Error

hotspot.cpp: In function ‘int32_t main()’:
hotspot.cpp:53:2: error: ‘ans’ was not declared in this scope; did you mean ‘abs’?
53 | ans.resize(n, 0);
| ^~~
| abs
hotspot.cpp:68:63: error: invalid types ‘long long int[long long int]’ for array subscript
68 | for (int i=0; i<n; ++i)if (nume[i]*den>num*denom[i])num=num[i], den=denom[i], where=i;
| ^