Is there anywhere online where I can find some variation of this problem to solve, other than SPOJ?
https://www.spoj.com/problems/DECFRAC/
It's marked as "Hidden" in SPOJ due to some issues. I wrote a program for repeated decimal fractions and would like to test it somewhere reliable, and I'm not sure if solving a "hidden" problem in SPOJ is allowed. I did search Codeforces briefly and there's a lot of fraction problems but didn't easily find one that is just nothing more than "output A/B with the repeating decimals marked somehow". Thanks!
Try this, although it has cumbersome io: https://onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&category=4&page=show_problem&problem=138