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 2049. Chemistry

WA #8? Your solution is seriously wrong
Consider the test "8 6" - there is solution, while your current logic likely outputs "-1"
Re: WA #8? Your solution is seriously wrong
Posted by ilya trofimov 31 May 2018 18:16
Try 19 18.
Re: WA #8? Your solution is seriously wrong
Posted by Vitaliy Pokrovskiy 16 Jun 2018 22:42
My thanks! It's very useful test. ))