Problem minimum
User Anonymous35V
Submission Time 2023-11-09 09:29:10
Score 0
Max Time N/A
Max Memory N/A

Compile Error

minimum.cpp: In function ‘int32_t main()’:
minimum.cpp:7:6: error: expected ‘(’ before ‘int’
7 | for int A=0; i < 0; i++)}
| ^~~
| (
minimum.cpp:7:15: error: ‘i’ was not declared in this scope
7 | for int A=0; i < 0; i++)}
| ^
minimum.cpp:7:26: error: expected primary-expression before ‘}’ token
7 | for int A=0; i < 0; i++)}
| ^
minimum.cpp: At global scope:
minimum.cpp:9:3: error: ‘cout’ does not name a type
9 | cout << A[minimum];
| ^~~~
minimum.cpp:10:5: error: expected unqualified-id before ‘return’
10 | return minimum;
| ^~~~~~
minimum.cpp:11:1: error: expected declaration before ‘}’ token
11 | }
| ^