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