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 2066. Simple Expression

Just for interest
Posted by IlushaMax 14 Mar 2016 00:37
[code deleted]

This code Accepted so A can be 0 or 1; B can be 0 or 1; C can be 0 or 1 in tests.
But if we will see on combinatons then there are only 4 combinations (if a<=b<=c) and there are 8 tests as min.

The paradox

Edited by author 14.03.2016 01:18

Edited by moderator 24.11.2019 13:45
Re: Just for interest
Posted by Ivan Metelev 25 May 2016 17:34
Please do not writeln your code there.
Re: Just for interest
Posted by ToadMonster 25 May 2016 18:45
> This code Accepted so
So no run-time checks if a, b, c are in [0-1] interval.

Example:
[code deleted]

Edited by author 25.05.2016 18:45

Edited by moderator 24.11.2019 13:45