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 2011. Long Statement

Sherxon WIUT No Need To Use Loop, Only If can solve it [9] // Problem 2011. Long Statement 27 Nov 2014 01:14
Bakhodir Boydedaev Re: No Need To Use Loop, Only If can solve it // Problem 2011. Long Statement 6 Dec 2014 19:28
...

Edited by author 06.12.2014 19:30
I solve without loop but is return WA#4

There is my algorithm :
if in list has 1 , 2 , 3 together always "Yes"
otherwise "No" am I right or any case is there ?

Edited by author 09.08.2017 09:41

Edited by author 09.08.2017 09:42
Nikita Mogilevets Re: No Need To Use Loop, Only If can solve it [6] // Problem 2011. Long Statement 12 Aug 2017 16:24
You can get six combinations with two a's and two b's

You can get six combinations with one a and five b's
Sorry but I don't understand what do you mean !
Give me  Test Case #4
Nikita Mogilevets Re: No Need To Use Loop, Only If can solve it [4] // Problem 2011. Long Statement 17 Aug 2017 00:16
0011
0101
0110
1001
1010
1100

That is six
Nikita Mogilevets Re: No Need To Use Loop, Only If can solve it [1] // Problem 2011. Long Statement 17 Aug 2017 00:17
000001
000010
000100
001000
010000
100000

That is also six
Nikita Mogilevets Re: No Need To Use Loop, Only If can solve it // Problem 2011. Long Statement 17 Aug 2017 00:17
012
021
102
120
201
210

And that is six
Answer is No , Correct ?
Nikita Mogilevets wrote 17 August 2017 00:16
0011
0101
0110
1001
1010
1100

That is six
Nikita Mogilevets Re: No Need To Use Loop, Only If can solve it // Problem 2011. Long Statement 30 Aug 2017 18:43
https://ideone.com/hG0aZ4
I do not want to say anything more
Maybe just look at my code