Problem 4sum
User YokeKai314
Submission Time 2025-04-04 14:19:18
Score 0
Max Time N/A
Max Memory N/A

Compile Error

4sum.cpp: In function ‘int32_t main()’:
4sum.cpp:11:9: error: storage size of ‘ab’ isn’t known
11 | int ab[];
| ^~
4sum.cpp:3:13: error: expected initializer before ‘long’
3 | #define int long long
| ^~~~
4sum.cpp:13:5: note: in expansion of macro ‘int’
13 | int a, b, c, d, x;
| ^~~
4sum.cpp:14:12: error: ‘a’ was not declared in this scope; did you mean ‘aa’?
14 | cin >> a >> b >> c >> d;
| ^
| aa
4sum.cpp:14:17: error: ‘b’ was not declared in this scope; did you mean ‘bb’?
14 | cin >> a >> b >> c >> d;
| ^
| bb
4sum.cpp:14:22: error: ‘c’ was not declared in this scope; did you mean ‘cc’?
14 | cin >> a >> b >> c >> d;
| ^
| cc
4sum.cpp:14:27