Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <stdio.h>
- #include <time.h>
- #include <stdlib.h>
- #include <string.h>
- #include <math.h>
- #include <stddef.h>
- #include "file.h"
- int main(void) {
- int a1, a2;
- scanf ("%d", &a1);
- scanf ("%d", &a2);
- struct long_num B1;
- struct long_num B2;
- printf ("begin \n");
- B1 = first (a1);
- B2 = first (a2);
- // output (B1);
- // output (B2);
- // struct long_num Sum;
- // Sum = summa (B1, B2);
- // output (Sum);
- struct long_num X;
- struct long_num Y;
- printf ("numbers with zero: ");
- X = zeros (B1, B2);
- Y = zeros (B2, B1);
- output (X);
- output (Y);
- printf ("begin karatzuba \n");
- struct long_num miay;
- miay = kara (X, Y);
- printf ("!!!RESULT: ");
- output (miay);
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement