Problem waveway2
User ethanK1RB0
Submission Time 2026-11-06 14:13:32
Score 0
Max Time N/A
Max Memory N/A

Compile Error

waveway2.cpp:3:18: error: declaration does not declare anything [-fpermissive]
3 | #define int long long;
| ^~~~
waveway2.cpp:5:1: note: in expansion of macro ‘int’
5 | int a, b, c, d, x;
| ^~~
waveway2.cpp:5:5: error: ‘a’ does not name a type
5 | int a, b, c, d, x;
| ^
waveway2.cpp: In function ‘int main()’:
waveway2.cpp:8:9: error: ‘a’ was not declared in this scope
8 | cin >> a >> b >> c >> d;
| ^
waveway2.cpp:8:14: error: ‘b’ was not declared in this scope
8 | cin >> a >> b >> c >> d;
| ^
waveway2.cpp:8:19: error: ‘c’ was not declared in this scope
8 | cin >> a >> b >> c >> d;
| ^
waveway2.cpp:8:24: error: ‘d’ was not declared in this scope
8 | cin >> a >> b >> c >> d;
|