Problem minimum
User MasterCoder8421
Submission Time 2025-12-10 13:53:32
Score 0
Max Time N/A
Max Memory N/A

Compile Error

minimum.cpp: In function ‘int findMin(int, int*)’:
minimum.cpp:5:16: error: ‘INT32_MAX’ was not declared in this scope
5 | int minimum = INT32_MAX:
| ^~~~~~~~~
minimum.cpp:6:19: error: ‘i’ was not declared in this scope
6 | for (int i=0; i<N; i++)
| ^
minimum.cpp: At global scope:
minimum.cpp:9:2: error: expected unqualified-id before ‘return’
9 | return minimum;
| ^~~~~~
minimum.cpp:11:1: error: expected declaration before ‘}’ token
11 | }
| ^