Repeating Decimals
Details
For each fraction argument a/b
, print its decimal expansion.
If the decimal expands infinitely, print the finite part followed by the
repeating part in parenthesis.
0 bytes, 0 chars
Restore solution
Compiled from
AT&T syntax to x86-64 Linux. Use
syscalls to write output.
ctrl + enter or