Thanks Cho for your great response.
I do the same calculation in integer data type
and accepted now.
Thanks again.
10889 - The Lost Gift
Moderator: Board moderators
-
- Guru
- Posts: 834
- Joined: Wed May 29, 2002 4:11 pm
- Location: Wroclaw, Poland
- Contact:
I have to questions:
1. For input "1 0" output should be "0 3" ?
2. For input "3 1" output shouls be "0 5" ?
Best regards
DM
PS. I think that from math perspective such I/O is correct![:)](./images/smilies/icon_smile.gif)
1. For input "1 0" output should be "0 3" ?
2. For input "3 1" output shouls be "0 5" ?
Best regards
DM
PS. I think that from math perspective such I/O is correct
![:)](./images/smilies/icon_smile.gif)
If you really want to get Accepted, try to think about possible, and after that - about impossible ... and you'll get, what you want ....
Born from ashes - restarting counter of problems (800+ solved problems)
Born from ashes - restarting counter of problems (800+ solved problems)