Problem | minimum |
---|---|
User | tuongphat2505 |
Submission Time | 2025-01-11 20:18:43 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
minimum.cpp: In function ‘int findMin(int, int*)’:
minimum.cpp:6:5: error: ‘ll’ was not declared in this scope
6 | ll ans = A[0];
| ^~
minimum.cpp:7:24: error: ‘n’ was not declared in this scope
7 | for(int i = 1; i < n; i++)
| ^
minimum.cpp:9:9: error: ‘ans’ was not declared in this scope; did you mean ‘abs’?
9 | ans = min(ans, a[0]);
| ^~~
| abs
minimum.cpp:9:24: error: ‘a’ was not declared in this scope
9 | ans = min(ans, a[0]);
| ^
minimum.cpp:11:12: error: ‘ans’ was not declared in this scope; did you mean ‘abs’?
11 | return ans;
| ^~~
| abs