ENG  RUSTimus Online Judge
Online Judge
Задачи
Авторы
Соревнования
О системе
Часто задаваемые вопросы
Новости сайта
Форум
Ссылки
Архив задач
Отправить на проверку
Состояние проверки
Руководство
Регистрация
Исправить данные
Рейтинг авторов
Текущее соревнование
Расписание
Прошедшие соревнования
Правила
вернуться в форум

Обсуждение задачи 2011. Длинное условие

No Need To Use Loop, Only If can solve it
Послано Sherxon WIUT 27 ноя 2014 01:14
Re: No Need To Use Loop, Only If can solve it
Послано Bahodir | {TUIT} | 6 дек 2014 19:28
...

Edited by author 06.12.2014 19:30
Re: No Need To Use Loop, Only If can solve it
Послано Habib [ Tashkent U of IT ] 9 авг 2017 09:40
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
Re: No Need To Use Loop, Only If can solve it
Послано Mahilewets Nikita [BSUIR] 12 авг 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
Re: No Need To Use Loop, Only If can solve it
Послано Habib[Tashkent U of IT] 16 авг 2017 15:45
Sorry but I don't understand what do you mean !
Give me  Test Case #4
Re: No Need To Use Loop, Only If can solve it
Послано Mahilewets Nikita [BSUIR] 17 авг 2017 00:16
0011
0101
0110
1001
1010
1100

That is six
Re: No Need To Use Loop, Only If can solve it
Послано Mahilewets Nikita [BSUIR] 17 авг 2017 00:17
000001
000010
000100
001000
010000
100000

That is also six
Re: No Need To Use Loop, Only If can solve it
Послано Mahilewets Nikita [BSUIR] 17 авг 2017 00:17
012
021
102
120
201
210

And that is six
Re: No Need To Use Loop, Only If can solve it
Послано Habib[Tashkent U of IT] 30 авг 2017 11:22
Answer is No , Correct ?
Mahilewets Nikita [BSUIR] писал(a) 17 августа 2017 00:16
0011
0101
0110
1001
1010
1100

That is six
Re: No Need To Use Loop, Only If can solve it
Послано Mahilewets Nikita [BSUIR] 30 авг 2017 18:43
https://ideone.com/hG0aZ4
I do not want to say anything more
Maybe just look at my code