my code partially solved but not fully please tell on which test it went wrong
I have tested 10001 90009 answer 0 mine . AND THE PASTED CODE HERE IS SHOWING SOME FOOL THINGS WHICH I DONOT HAVE IN MY CODE I PASTED IT HERE AND IT GET BAD LIKE #INCLUDE AND PLEASE UPVOTE SO I CAN ABLE TO UPLOAD CODE HERE
#include <bits/stdc++.h>
#define ll long long
#define fast ios_base::sync_with_stdio(0)
using namespace std;
int main() {
fast;
ll t;
cin >> t;
while( t-- )
{
ll num1 , num2 ;
cin >> num1 >> num2 ;
vector<int> v;
int sum;
while( num1 != 0 || num2 != 0 )
{
int r1 = num1 % 10;
int r2 = num2 % 10;
sum = r1+ r2;
v.push_back(sum%10);
num1 /= 10;
num2 /= 10;
}
sum = 0;
for( int i=0; i<v.size(); i++)
{
sum += v[i];
}
if( sum != 0 )
{
for( int i= v.size()-1; i>=0; i--)
cout << v[i];
}
else
{
cout << 0;
}
cout << endl;
}
return 0;
}