Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <stdio.h>
- #include <stdlib.h>
- int main()
- {
- int y, a, b;
- FILE *input = fopen("a.txt", "r");
- FILE *output = fopen("b.txt", "w");
- if(!input || !output) return 1;
- fscanf(input, "%d %d", &a, &b);
- a = a >> 2;
- b = b << 19;
- y = a + b;
- y = y << 3;
- fprintf(output, "%d\n", y);
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement