Problem minimum
User duck
Submission Time 2023-10-23 13:33:36
Score 0
Max Time N/A
Max Memory N/A

Compile Error

minimum.cpp:1:15: error: ‘A’ was not declared in this scope
1 | int minimum = A[0];
| ^
minimum.cpp:2:1: error: expected unqualified-id before ‘for’
2 | for (int i = 0; i < N; i++) {
| ^~~
minimum.cpp:2:17: error: ‘i’ does not name a type
2 | for (int i = 0; i < N; i++) {
| ^
minimum.cpp:2:24: error: ‘i’ does not name a type
2 | for (int i = 0; i < N; i++) {
| ^
minimum.cpp:7:1: error: expected unqualified-id before ‘return’
7 | return minimum;
| ^~~~~~