My issue
I think the output of second testcase should be 3 instead of 2
My code
#include <bits/stdc++.h>
using namespace std;
int main() {
// your code goes here
int t;cin>>t;
while(t--){
int a,b,k;
cin>>a>>b>>k;
}
}
Problem Link: Change A to B Practice Coding Problem