Problem permutationgrid
User xragon
Submission Time 2024-12-07 10:18:39
Score 0
Max Time N/A
Max Memory N/A

Compile Error

permutationgrid.cpp:5:8: error: cannot declare ‘::main’ to be a global variable
5 | signed main{
| ^~~~
permutationgrid.cpp:3:14: error: expected primary-expression before ‘long’
3 | # define int long long;
| ^~~~
permutationgrid.cpp:6:2: note: in expansion of macro ‘int’
6 | int x,
| ^~~
permutationgrid.cpp:3:14: error: expected ‘}’ before ‘long’
3 | # define int long long;
| ^~~~
permutationgrid.cpp:6:2: note: in expansion of macro ‘int’
6 | int x,
| ^~~
permutationgrid.cpp:5:12: note: to match this ‘{’
5 | signed main{
| ^
permutationgrid.cpp:6:6: error: ‘x’ does not name a type
6 | int x,
| ^
permutationgrid.cpp:3:19: error: declaration does not declare anything [-fpermissive]
3 | # define int long long;
| ^~~~
permutationgrid.cpp:8:2: note: in expansion of macr