Problem | minimum |
---|---|
User | altaf |
Submission Time | 2025-05-22 17:52:29 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
minimum.cpp: In function ‘int findMin(int, int*)’:
minimum.cpp:3:22: error: ‘n’ was not declared in this scope
3 | for (int i = 0; i < n; i++) {
| ^
minimum.cpp:4:7: error: ‘a’ was not declared in this scope
4 | if (a < min) min = a;
| ^