Problem minimum
User thatlycheeoolongdrink
Submission Time 2025-11-21 10:38:42
Score 0
Max Time N/A
Max Memory N/A

Compile Error

minimum.cpp: In function ‘long long int findMin(long long int, long long int*)’:
minimum.cpp:7:7: error: ‘s1’ was not declared in this scope; did you mean ‘s’?
7 | if (s1==-1||A[i]<s1) {
| ^~
| s
minimum.cpp:14:9: error: ‘s1’ was not declared in this scope; did you mean ‘s’?
14 | return s1;
| ^~
| s