Problem minimum
User NikhilK
Submission Time 2024-02-12 12:20:31
Score 0
Max Time N/A
Max Memory N/A

Compile Error

minimum.cpp:2:2: error: invalid preprocessing directive #inlcude; did you mean #include?
2 | #inlcude <bits/stdc++.h>
| ^~~~~~~
| include
minimum.cpp: In function ‘int findMin(int, int*)’:
minimum.cpp:7:19: error: ‘n’ was not declared in this scope
7 | for(int i = 0; i<n; i++){
| ^
minimum.cpp:8:14: error: ‘a’ was not declared in this scope
8 | miin = min(a[i],miin);
| ^
minimum.cpp:8:10: error: ‘min’ was not declared in this scope; did you mean ‘miin’?
8 | miin = min(a[i],miin);
| ^~~
| miin