My issue
i dont understand second test case , output should be 2 rightt?
My code
#include <bits/stdc++.h>
using namespace std;
int main() {
// your code goes here
}
Problem Link: Buying Game Practice Coding Problem
i dont understand second test case , output should be 2 rightt?
#include <bits/stdc++.h>
using namespace std;
int main() {
// your code goes here
}
Problem Link: Buying Game Practice Coding Problem