#include<stdio.h>
#include<string.h>
int main(){
char filename[FILENAME_MAX];
char buffer[1024];
FILE*fp;
strcpy(filename
,"/dev/stdin"); if((fp
=fopen(filename
,"r")) == NULL
){ printf("ファイル%sが見つかりません。\n",filename
); return(-1);
}
while(fscanf(fp
,"%s",buffer
)!=EOF
){ }
}
I2luY2x1ZGU8c3RkaW8uaD4KI2luY2x1ZGU8c3RyaW5nLmg+CgppbnQgbWFpbigpewogICAgICAgIGNoYXIgZmlsZW5hbWVbRklMRU5BTUVfTUFYXTsKICAgICAgICBjaGFyIGJ1ZmZlclsxMDI0XTsKICAgICAgICBGSUxFKmZwOwoKICAgICAgICBzdHJjcHkoZmlsZW5hbWUsIi9kZXYvc3RkaW4iKTsKICAgICAgICBpZigoZnA9Zm9wZW4oZmlsZW5hbWUsInIiKSkgPT0gTlVMTCl7CiAgICAgICAgICAgICAgICBwcmludGYoIuODleOCoeOCpOODqyVz44GM6KaL44Gk44GL44KK44G+44Gb44KT44CCXG4iLGZpbGVuYW1lKTsKICAgICAgICAgICAgICAgIHJldHVybigtMSk7CiAgICAgICAgfQoKICAgICAgICB3aGlsZShmc2NhbmYoZnAsIiVzIixidWZmZXIpIT1FT0YpewogICAgICAgICAgICAgICAgcHJpbnRmKCIlc1xuIixidWZmZXIpOwogICAgICAgIH0KICAgICAgICBmY2xvc2UoZnApOwp9Cg==