Problem 4sum
User PerihelionfromAphelion
Submission Time 2026-06-10 23:27:58
Score 0
Max Time N/A
Max Memory N/A

Compile Error

4sum.cpp: In function ‘int main()’:
4sum.cpp:7:18: error: conflicting declaration ‘int a [506]’
7 | int a, b, c, d, a[506], b[506], c[506], d[506], i, j, p, q;
| ^
4sum.cpp:7:6: note: previous declaration as ‘int a’
7 | int a, b, c, d, a[506], b[506], c[506], d[506], i, j, p, q;
| ^
4sum.cpp:7:26: error: conflicting declaration ‘int b [506]’
7 | int a, b, c, d, a[506], b[506], c[506], d[506], i, j, p, q;
| ^
4sum.cpp:7:9: note: previous declaration as ‘int b’
7 | int a, b, c, d, a[506], b[506], c[506], d[506], i, j, p, q;
| ^
4sum.cpp:7:34: error: conflicting declaration ‘int c [506]’
7 | int a, b, c, d, a[506], b[506], c[506], d[506], i, j, p, q;
| ^
4sum.cpp:7:12: note: previous declaration as ‘int c’
7 | int a, b, c, d, a[506], b[506], c[506], d[506], i, j, p, q;
| ^<