Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include "BigInt.h"
- int main(){
- printf("%d\n", compare(divi(make("8965689588325"), make("25352465235")), make("353")));
- printf("%d\n", compare(sum(make("234435234264270467"), make("35364572624621358918578213574528")), make("35364572624621593353812477844995")));
- printf("%d\n", compare(diff(make("8965689588325352465235"), make("8965689588325")), make("8965689579359662876910")));
- printf("%d\n", compare(mult(make("25352465235"), make("8965689588325")), make("227302333595811024381375")));
- BigInt* ans = divi(make("4385920537982357923084572043"), make("45765893742"));
- convert(&ans, 10);
- bigint_printf(ans);
- return 0;
- }
Add Comment
Please, Sign In to add comment