C ++ code to count number in the range having the sum of even digits greater than the sum of odd digits
#include <bits/stdc++.h> NEW_LINE #define int  long long NEW_LINE using namespace std ; vector < int > v ; int dp [ 18 ] [ 180 ] [ 180 ] [ 2 ] ; int memo ( int index , int evenSum , int oddSum , int tight ) {