#include #include #include #include #include using namespace std; struct BigInteger{ static const int BASE = 1e8; static const int WIDTH = 8; vector s; BigInteger(long long num=0){ *this = num; } BigInteger operator=(long long num){ s.clear(); do{ s.push_back(num%BASE); num/=BASE; }while(num>0); return *this; } BigInteger operator+(const BigInteger& b)const{ BigInteger c; c.s.clear(); for(int i=0,g=0;;i++){ if(g==0&&i>=s.size()&&i>=b.s.size())break; int x = g; if(i=0;i--){ char buf[20]; sprintf(buf,"%08d",x.s[i]); for(int j=0;j>n){ if(n==0){ cout<