Problem minimum
User fanqie
Submission Time 2023-11-15 22:13:53
Score 0
Max Time N/A
Max Memory N/A

Compile Error

minimum.cpp: In function ‘int32_t main()’:
minimum.cpp:3:18: error: declaration does not declare anything [-fpermissive]
3 | #define int long long;
| ^~~~
minimum.cpp:6:2: note: in expansion of macro ‘int’
6 | int N;
| ^~~
minimum.cpp:6:6: error: ‘N’ was not declared in this scope
6 | int N;
| ^
minimum.cpp:3:18: error: declaration does not declare anything [-fpermissive]
3 | #define int long long;
| ^~~~
minimum.cpp:8:2: note: in expansion of macro ‘int’
8 | int A[N];
| ^~~
minimum.cpp:8:6: error: ‘A’ was not declared in this scope
8 | int A[N];
| ^
minimum.cpp:3:18: error: declaration does not declare anything [-fpermissive]
3 | #define int long long;
| ^~~~
minimum.cpp:9:7: note: in expansion of macro ‘int’
9 | for (int i=0; i<N; i++){
| ^~~
minimum.cpp:9