Problem sumint
User theRealLucasXD
Submission Time 2025-05-22 21:37:38
Score 0
Max Time N/A
Max Memory N/A

Compile Error

sumint.cpp:2:1: error: ‘include’ does not name a type
2 | include namespace std;
| ^~~~~~~
sumint.cpp:3:18: error: declaration does not declare anything [-fpermissive]
3 | #define int long long;
| ^~~~
sumint.cpp:5:1: note: in expansion of macro ‘int’
5 | int n;
| ^~~
sumint.cpp:5:5: error: ‘n’ does not name a type; did you mean ‘yn’?
5 | int n;
| ^
| yn
sumint.cpp:3:18: error: declaration does not declare anything [-fpermissive]
3 | #define int long long;
| ^~~~
sumint.cpp:6:1: note: in expansion of macro ‘int’
6 | int arr[10001];
| ^~~
sumint.cpp:6:5: error: ‘arr’ does not name a type
6 | int arr[10001];
| ^~~
sumint.cpp:3:18: error: declaration does not declare anything [-fpermissive]
3 | #define int long long;
| ^~~~
sumint.cpp:7:1: note: in expansion of macro ‘