Problem minimum
User PyAce
Submission Time 2026-01-09 09:11:55
Score 0
Max Time N/A
Max Memory N/A

Compile Error

minimum.cpp: In function ‘int main()’:
minimum.cpp:9:15: error: expected ‘;’ before ‘<’ token
9 | for (int i, i<n;i++){
| ^
| ;
minimum.cpp:9:15: error: expected primary-expression before ‘<’ token
minimum.cpp:20:64: error: expected ‘}’ at end of input
20 | cout << "The function will return " << smallest << "." << "\n";
| ^
minimum.cpp:5:15: note: to match this ‘{’
5 | signed main() {
| ^