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

Обсуждение задачи 1264. Трудовые будни

It is a very easy problem!!!!!!!!
Послано XiangGuangTe 29 апр 2004 11:05
The answer is "N*(M+1)"
Re: It is a very easy problem!!!!!!!!
Послано CAHEK 22 ноя 2009 16:12
yeah, it's mega simple problem...
Re: It is a very easy problem!!!!!!!!
Послано Beginner 30 окт 2010 22:35
Yeah, it's simple but why my answer was wrong?
anyone can help?
Re: It is a very easy problem!!!!!!!!
Послано Ivan Metelev 31 янв 2015 13:34
Give me your code and I will help you

Edited by author 31.01.2015 13:34

Edited by author 31.01.2015 13:34
Re: It is a very easy problem!!!!!!!!
Послано Rifat 6 апр 2015 14:10
why "N*(M+1)" i can't understand pls help
Re: It is a very easy problem!!!!!!!!
Послано Ealham Al Musabbir 1 май 2015 10:09
"For each integer from 0 to M the function would calculate how many times this number appears in the N-element array..."

Let's say N=2, so you have two-element array.
Let's M=4, so you have to check whether there is any 0,1,2,3 or 4 (since from 0 to M) in each array...
So total lines = 2*(4+1)
Hope, it helped.
Re: It is a very easy problem!!!!!!!!
Послано Fardayek 29 авг 2016 16:13
how could 3 or 4 in the n? cause n = 2 so 3 or 4 are not in the array....for this reason why we don't use if else statement to see whether m is bigger than n or not...but we calculate it straightly?...can you please describe?
Re: It is a very easy problem!!!!!!!!
Послано liquid 11 сен 2016 15:12
because, a box is given as a clue .....
and you have to solve the problem according to that.. i guess :/
Re: It is a very easy problem!!!!!!!!
Послано Shipan Mazumder 5 ноя 2019 09:06
Thanks, It helps me