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

Compile Error

minimum.cpp:3:18: error: declaration does not declare anything [-fpermissive]
3 | #define int long long;
| ^~~~
minimum.cpp:4:1: note: in expansion of macro ‘int’
4 | int findMin(int N, int A[]){
| ^~~
minimum.cpp:3:22: error: expected ‘)’ before ‘;’ token
3 | #define int long long;
| ^
minimum.cpp:4:13: note: in expansion of macro ‘int’
4 | int findMin(int N, int A[]){
| ^~~
minimum.cpp:4:12: note: to match this ‘(’
4 | int findMin(int N, int A[]){
| ^
minimum.cpp:3:22: error: expected constructor, destructor, or type conversion before ‘;’ token
3 | #define int long long;
| ^
minimum.cpp:4:13: note: in expansion of macro ‘int’
4 | int findMin(int N, int A[]){
| ^~~
minimum.cpp:4:17: error: ‘N’ does not name a type
4 | int findMin(int N, int A[]){