#include <stdio.h>
int main()
{
FILE *fpi,*fpo;
char s[20];
int a,b,c;
fpi
=fopen("sdata.txt","r"); fpo
=fopen("odata2.txt","w");
while(fscanf(fpi
,"%s %d %d",s
,&a
,&b
)!=EOF
) { c=a*b;
}
return 0;
}
I2luY2x1ZGUgPHN0ZGlvLmg+CgppbnQgbWFpbigpCnsKICBGSUxFICpmcGksKmZwbzsKICBjaGFyIHNbMjBdOwogIGludCBhLGIsYzsKCiAgZnBpPWZvcGVuKCJzZGF0YS50eHQiLCJyIik7CiAgZnBvPWZvcGVuKCJvZGF0YTIudHh0IiwidyIpOwoKICB3aGlsZShmc2NhbmYoZnBpLCIlcyAlZCAlZCIscywmYSwmYikhPUVPRikgewogICAgYz1hKmI7CiAgICBmcHJpbnRmKHN0ZG91dCwiJXMgJWRcbiIscyxjKTsKICAgIGZwcmludGYoZnBvLCIlcyAlZFxuIixzLGMpOwogIH0KCiAgcmV0dXJuIDA7Cn0=