Friends pairing problem

Hello @singhsimran567 what is the problem that your are facing?

solution is not passing testcases

Hello @singhsimran567 i have corrected your code and now it is printing the correct result.


it is passing every test case.
you have to take data types as long long int.
Happy Learning!!

int32_t main
what is this about in the code you provided

hello @singhsimran567 it is just the syntax we have to use when we define int as long long int .
otherwise you have to declare every variable as of type long long int.

I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.

On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.