When Shakib was little, his mother used to help him with his studies. Usually, around 7 PM in the ev…
Click here to read the complete problem statement.
If you need help solving this problem, mention your approach and ask specific questions. Please avoid sharing your code and asking the Community to figure out “what’s wrong”.
Yes, I know the same.
However, I tried to use the Bignum utility of both Java and Python but it seems that the code will not work unless you store the number in a string or an array. You will get TLE instead.
Maybe, the bignum algo they use is too time-consuming.
So, you have to learn bignum yourself. forget those,
#include<set>
#include<iostream>
#include<vector>
#include<algorithm>
#include<stack>
#include<climits>
#include<cstring>
#include<cmath>
#include<unordered_map>
#include<sstream>
#include<cmath>
#include<iomanip>
#include<numeric>
using namespace std;
int main(){
long long int a,b;
cin>>a>>b;
long long int c=a+b;
cout<<c;
}
edit:I use C++ latest version in my mac but this code executes but here this doesn't!!!