Problem modulochain
User CKCodeBreaker55
Submission Time 2024-12-06 14:30:29
Score 0
Max Time N/A
Max Memory N/A

Compile Error

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