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

IlushaMax Just for interest [2] // Problem 2066. Simple Expression 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
Ivan Metelev Re: Just for interest // Problem 2066. Simple Expression 25 May 2016 17:34
Please do not writeln your code there.
ToadMonster Re: Just for interest // Problem 2066. Simple Expression 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