Calculate on strings.

Revision en2, by thanhchauns2, 2021-08-10 01:27:57

I just want to share something to community, after I found this problem in the problemset (which the answer cannot be display as long long integer). Here is my class to calculate on strings (including add, substract, multiply, divide (as two strings), modulo and take gcd, I will add bitwise operators later if possible).

Hope you will find it useful. If you find this incomplete, I would love to read any feedback.

Code

Hope you will find this helpful ^_^ Thanks for reading.

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en2 English thanhchauns2 2021-08-10 01:27:57 16
en1 English thanhchauns2 2021-08-10 01:17:14 5525 Initial revision (published)