Problem | numbergame |
---|---|
User | shoryu386 |
Submission Time | 2023-01-08 16:08:02 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
numbergame.cpp: In function ‘int main()’:
numbergame.cpp:16:5: error: redeclaration of ‘ll ans’
16 | ll ans = LONG_LONG_MIN/3;
| ^~~
numbergame.cpp:8:12: note: ‘long long int ans’ previously declared here
8 | long long ans = LONG_LONG_MIN;
| ^~~
numbergame.cpp:34:7: error: ‘smol’ was not declared in this scope
34 | if (smol == -1){
| ^~~~
numbergame.cpp:35:21: error: ‘y’ was not declared in this scope
35 | if (abs(a[x] * b[y] + c[0] - targ) < abs(ans - targ)){
| ^
numbergame.cpp:43:21: error: ‘y’ was not declared in this scope
43 | if (abs(a[x] * b[y] + c[smol] - targ) < abs(ans - targ)){
| ^
numbergame.cpp:51:22: error: ‘y’ was not declared in this scope
51 | if (abs(a[x] * b[y] + c[smol+1] - targ) < abs(ans - targ)){
| ^