27 lines
385 B
C
27 lines
385 B
C
#include <stdio.h>
|
|
#include <strings.h>
|
|
#include <string.h>
|
|
|
|
int main(void) {
|
|
FILE *fp = fopen("dict.dic", "r");
|
|
|
|
int a;
|
|
char b[16]; // bool
|
|
char c[4096];
|
|
char d[4096];
|
|
|
|
int n;
|
|
scanf("%d", &n);
|
|
|
|
for (int i = 0; i < n; i++) {
|
|
fscanf(fp, "%i%s%s%s\n", &a, b, c, d);
|
|
}
|
|
|
|
printf("%i\n", a);
|
|
printf("%s\n", b);
|
|
printf("%s\n", c);
|
|
printf("%s", d);
|
|
|
|
return 0;
|
|
}
|