Problem | minimum |
---|---|
User | Zihan1304 |
Submission Time | 2024-11-20 19:16:56 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
minimum.cpp: In function ‘int main()’:
minimum.cpp:7:19: error: ‘N’ was not declared in this scope
7 | for (int i=0; i<N; i++){
| ^
minimum.cpp:8:20: error: ‘A’ was not declared in this scope
8 | cur = min(cur, A[i]);
| ^
minimum.cpp:10:10: error: invalid conversion from ‘int*’ to ‘int’ [-fpermissive]
10 | return cur;
| ^~~
| |
| int*