Problem minimum
User 583116UB
Submission Time 2024-04-27 11:40:22
Score 0
Max Time N/A
Max Memory N/A

Compile Error

minimum.cpp: In function ‘int main()’:
minimum.cpp:5:13: error: expected identifier before numeric constant
5 | findMin(2, [3, 5]);
| ^
minimum.cpp:5:14: error: expected ‘]’ before ‘,’ token
5 | findMin(2, [3, 5]);
| ^
| ]
minimum.cpp: In lambda function:
minimum.cpp:5:14: error: expected ‘{’ before ‘,’ token
minimum.cpp: In function ‘int main()’:
minimum.cpp:5:17: error: expected ‘)’ before ‘]’ token
5 | findMin(2, [3, 5]);
| ~ ^
| )
minimum.cpp:5:19: error: expected ‘}’ at end of input
5 | findMin(2, [3, 5]);
| ^
minimum.cpp:3:12: note: to match this ‘{’
3 | int main() {
| ^