What day is it
2016-08-23
0 0 0
no vote
Other
Earn points
#include#include#include#includeusing namespace std;string add(string a , string b){ int temp = a.length() - b.length(); if(temp > 0) for(int i = 0; i<temp; i++) b = '0' + b; if(temp < 0) for(int i = 0; i<fabs((double)temp); i++) a = '0' + a; a = '0' + a; for(int i = a.length()-1; i>0; i--) { int t = a[i] + b[i-1] - 96; if(t > 9) a[i-1] += 1; a[i] = t % 10 + 48; } while(1) { if(a[0] == '0') a.erase(a.begin()); else break; } if(a.length() == 0) a = '0'; return a;}strin
c++
Related Source Codes
Local Path Planning Algorithm - DWA Algorithm
0
0
no vote
enDAQ-Shock-Data-Share-SRS-Blog
0
0
no vote
Calling chatGPT in a Windows application
0
0
no vote
Test Hello world
0
0
no vote
RCS calculation by one-way ray tracing
0
0
no vote
No comment