Problem typoswap
User ethanK1RB0
Submission Time 2026-01-05 15:39:46
Score 0
Max Time N/A
Max Memory N/A

Compile Error

typoswap.cpp:2:18: error: declaration does not declare anything [-fpermissive]
2 | #define int long long;
| ^~~~
typoswap.cpp:5:1: note: in expansion of macro ‘int’
5 | int x, y;
| ^~~
typoswap.cpp:5:5: error: ‘x’ does not name a type
5 | int x, y;
| ^
typoswap.cpp: In function ‘int main()’:
typoswap.cpp:8:12: error: ‘x’ was not declared in this scope
8 | cin >> x >> y;
| ^
typoswap.cpp:8:17: error: ‘y’ was not declared in this scope; did you mean ‘yn’?
8 | cin >> x >> y;
| ^
| yn
typoswap.cpp:9:13: error: ‘xy’ was not declared in this scope
9 | cout << xy;
| ^~