ENG
RUS
Timus 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
Keworker `~
If you have RE/WA at test #26
// Problem
1274. Fractional Arithmetic
31 Jul 2024 13:33
I use Python function .isdigit() to check if fraction is integer, but strings like "-12" gives False for .isdigit() check.
So, in test 26 one of the fractions is something like -x, where x is integer.
Edited by author 31.07.2024 13:33
© 2000–2025
Timus Online Judge Team
. All rights reserved.