what is wrong with my code , my output is showing correct
using namespace std;
long long int s,d,k,n;
n = s-k;
What problem is this for?
Ha! Suppose I should have realised that!
Did you notice the maximum number of apples? long long int isn’t going to hold it.