Problem | 4sum |
---|---|
User | YH |
Submission Time | 2024-02-12 15:49:08 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
4sum.cpp: In function ‘int* find_sums(long long int*, long long int*, long long int*, long long int*, const int&, const int&, const int&, const int&)’:
4sum.cpp:15:14: error: cannot convert ‘long long int*’ to ‘int*’ in return
15 | return sums;
| ^~~~
4sum.cpp: In function ‘int main()’:
4sum.cpp:60:35: error: cannot convert ‘int*’ to ‘long long int*’ in initialization
60 | long long* four_sums = {find_sums(a, b, c, d, leng_a, leng_b, leng_c, leng_d)};
| ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| |
| int*