Problem modulochain
User AltheaZ
Submission Time 2023-11-09 11:42:20
Score 0
Max Time N/A
Max Memory N/A

Compile Error

modulochain.cpp: In function ‘int main()’:
modulochain.cpp:3:17: error: declaration does not declare anything [-fpermissive]
3 | #define ll long long;
| ^~~~
modulochain.cpp:7:2: note: in expansion of macro ‘ll’
7 | ll mod=1e9+7;
| ^~
modulochain.cpp:7:5: error: ‘mod’ was not declared in this scope
7 | ll mod=1e9+7;
| ^~~
modulochain.cpp:3:17: error: declaration does not declare anything [-fpermissive]
3 | #define ll long long;
| ^~~~
modulochain.cpp:8:5: note: in expansion of macro ‘ll’
8 | ll n;cin>>n;
| ^~
modulochain.cpp:8:8: error: ‘n’ was not declared in this scope
8 | ll n;cin>>n;
| ^
modulochain.cpp:3:17: error: declaration does not declare anything [-fpermissive]
3 | #define ll long long;
| ^~~~
modulochain.cpp:10:2: note: in expansion of macro ‘ll’
10