0_0_13072696_17585.cpp: In function 'int main()':
0_0_13072696_17585.cpp:2:149: error: 'scanf' was not declared in this scope
char a[99999],b[99999];F(char*a){int f=0;for(;*a;a++)if(*a==46)f=1;if(f){for(a--;*a==48;a--);if(*a==46)*a=0;*(a+1)=0;}}main(){while(scanf("%s%s",a,b)+1)F(a),F(b),puts(strcmp(a,b)?"NO":"YES");}
^
0_0_13072696_17585.cpp:2:190: error: 'puts' was not declared in this scope
char a[99999],b[99999];F(char*a){int f=0;for(;*a;a++)if(*a==46)f=1;if(f){for(a--;*a==48;a--);if(*a==46)*a=0;*(a+1)=0;}}main(){while(scanf("%s%s",a,b)+1)F(a),F(b),puts(strcmp(a,b)?"NO":"YES");}
^
|