My issue
Can anyone explain the las testcase
My code
#include <bits/stdc++.h>
using namespace std;
int main() {
// your code goes here
}
Problem Link: Make All Zero Practice Coding Problem - CodeChef
Can anyone explain the las testcase
#include <bits/stdc++.h>
using namespace std;
int main() {
// your code goes here
}
Problem Link: Make All Zero Practice Coding Problem - CodeChef
@minuszeropoint
9
5 3 3 5 2 4 5 2 1
first i=9
4 2 2 4 1 3 4 1 0
second i=8
3 1 1 3 0 2 3 0 0
third i=3
2 0 0 3 0 2 3 0 0
then do it separately
so 3+4 =7 operations.