Help me in solving BMMC18 problem

My issue

My code

// Update the code below to solve the problem

#include <iostream>
#include <string>
using namespace std;

int main() 
{
 int t;
 cin>>t;
while(t--)
 { 
    
  }
 return 0;
}

Learning course: Solve Programming problems using C++
Problem Link: CodeChef: Practical coding for everyone

@shri9607 include
include
using namespace std;

int main()
{
int t;
cin>>t;
while(t–)
{ int diff=0;
int a,b;
cin>>a>>b;
diff=max(a,b);
cout<<7-diff<<endl;
}
return 0;
}
the min points req will be 7-(max points between the players)
the correct code should be