ENG  RUSTimus Online Judge
Online Judge
Problems
Authors
Online contests
About Online Judge
Frequently asked questions
Site news
Webboard
Links
Problem set
Submit solution
Judge status
Guide
Register
Update your info
Authors ranklist
Current contest
Scheduled contests
Past contests
Rules
back to board

Discussion of Problem 1274. Fractional Arithmetic

Wrong Answer 30
Posted by Mahilewets 20 May 2017 11:23
Hi,  I tried all the tests can be found in that discussion.
My program gives always the right answers.
I am using Python,  so,  there can't be any integer overflow.
I am using gcd function from Fractions.
Re: Wrong Answer 30
Posted by Mahilewets 20 May 2017 12:49
I rewrote my Python3 program in C++.  It got AC immediately.