My issue
My code
// Update the code below to solve the problem
#include <iostream>
#include <string>
using namespace std;
int main()
{ int a,b;
int t;
cin>>t;
while(t--) {
int a,b;
cin>>a,b;
if (a==0 && b==0){
cout<<7<<endl;
}
if (a==1 && b==6){
cout<<a<<endl;
}
if (a==2 && b==5){
cout<<a<<endl;
}
if (a==3 && b==4){
cout<<a<<endl;
}
if (a==5 && b==2){
cout<<a<<endl;
}
if (a==6 && b==1){
cout<<a<<endl;
}
if (a==2 && b==5){
cout<<a<<endl;
}
else{cout<<"Start The match"<<endl; }
}
return 0;
}
Learning course: Solve Programming problems using C++
Problem Link: CodeChef: Practical coding for everyone
help me in this pleaseā¦