Problem minimum
User nivay210
Submission Time 2023-11-09 09:16:28
Score 0
Max Time N/A
Max Memory N/A

Compile Error

cc1plus: error: ‘::main’ must return ‘int’
minimum.cpp: In function ‘int main()’:
minimum.cpp:6:17: error: expected ‘,’ or ‘...’ before numeric constant
6 | int findMin(int 7, int A[1 2 3 5 8 13 21])
| ^
minimum.cpp:7:2: error: expected initializer before ‘}’ token
7 | }
| ^
minimum.cpp: At global scope:
minimum.cpp:8:1: error: expected declaration before ‘}’ token
8 | }
| ^