My issue
int t;
cin>>t;
while(t--){
int x,y;
cin>>x>>y;
cout<<(x*7)-y<<endl;
}
my code is correct here still im not able to pass 1 test case but according to that failed test case, my code is correct
can anyone rectify if im wrong? or is it an issue?
My code
#include <iostream>
using namespace std;
int main() {
int t;
cin>>t;
while(t--){
int x,y;
cin>>x>>y;
cout<<(x*7)-y<<endl;
}
return 0;
}
Learning course: 500 difficulty rating
Problem Link: Waiting Time Practice Problem in - CodeChef