chemical equation by 51b

char a[9],c[9];main(){scanf("%s%s%s%s",a,a+5,c+5,c);printf(*c?"2%s+5%s->4%s+2%s":"2%s+%s->2%s",a,a+5,c+5,c);}

Note that non-ascii characters in the above source code will be escaped (such as \x9f).

download

return to the top page