I like unit fractions by tails

#define X(c)*#c/o?m/a c m/b:
long long m=0x1p62;main(o,a,b){for(;~scanf("1/%d%s 1/%d\n",&a,&o,&b);printf(""-5,m/~-(X(&)X(+)X(-)X(^)X(|)0)));}

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

To protect the system from spam, please input your favorite sport (hint: I believe its name must start with 'g', case insensitive)

download

return to the top page