Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <stdio.h>
- int main(void)
- {
- FILE *input=fopen("input.txt","r");
- FILE *output=fopen("output.txt","w");
- rewind(output);
- unsigned short a=0,b=0;
- if( fscanf(input,"%u %u",&a,&b)!=EOF )
- fprintf(output,"%u %u",b-1,a-1);
- fclose(input);
- fclose(output);
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement