Problem minimum
User PyAce
Submission Time 2026-01-12 15:50:04
Score 0
Max Time N/A
Max Memory N/A

Compile Error

minimum.cpp: In function ‘int findMin(int, int*)’:
minimum.cpp:17:36: error: invalid operands of types ‘const char [25]’ and ‘int’ to binary ‘operator<<’
17 | return "The function will return" << smallest << "."
| ~~~~~~~~~~~~~~~~~~~~~~~~~~ ^~ ~~~~~~~~
| | |
| const char [25] int
minimum.cpp:17:54: error: expected ‘;’ before ‘}’ token
17 | return "The function will return" << smallest << "."
| ^
| ;
18 | }
| ~