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

Compile Error

permutationgrid.cpp: In function ‘int main()’:
permutationgrid.cpp:3:19: error: declaration does not declare anything [-fpermissive]
3 | # define int long long;
| ^~~~
permutationgrid.cpp:6:2: note: in expansion of macro ‘int’
6 | int x,
| ^~~
permutationgrid.cpp:6:6: error: ‘x’ was not declared in this scope
6 | int x,
| ^
permutationgrid.cpp:7:14: error: ‘y’ was not declared in this scope; did you mean ‘yn’?
7 | cin >> x >> y;
| ^
| yn
permutationgrid.cpp:3:19: error: declaration does not declare anything [-fpermissive]
3 | # define int long long;
| ^~~~
permutationgrid.cpp:8:2: note: in expansion of macro ‘int’
8 | int z = x*y
| ^~~
permutationgrid.cpp:8:6: error: ‘z’ was not declared in this scope
8 | int z = x*y
| ^
permutationgrid.cpp:9:6: error: ‘