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