Archived
1
0
Fork 0
This repository has been archived on 2022-06-20. You can view files and clone it, but cannot push or open issues or pull requests.
mipt_clang/numbers/octal.c

14 lines
252 B
C
Raw Normal View History

2022-02-14 16:00:31 +03:00
#include <stdio.h>
int main() {
FILE *input = fopen("input.txt","r");
unsigned long long int nya;
fscanf(input, "%lld\n", &nya);
fclose(input);
FILE *output = fopen("output.txt","w");
fprintf(output, "%llo", nya);
fclose(output);
return 0;
}