Help me in solving SUMNEQ problem

My issue

I am unable to solve the problem can you please guide me.

My code

#include <iostream>
using namespace std;

int main() {
	// your code goes here
	int T;
	cin>>T;
	while(T--){
	    int N;
	    cin>>N;
	    int i,j;
	    cin>>i,j;
	    if(i+j==N){
	        cout<<N<<endl;
	    }
	}
	    	return 0;
}

Learning course: Basic Math using C++
Problem Link: CodeChef: Practical coding for everyone

hey, when you are taking multiple inputs using cin, we use the >> operator instead of ,
hence you need to write, cin>>i>>j