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

Обсуждение задачи 1409. Два бандита

RoBa @ TJU What's the meaning of this problem? [12] // Задача 1409. Два бандита 5 сен 2006 15:20
Seems an easy problem, but I can't understand it...
Kaliningrad SU -J_A_MES-HeadLiner Re: What's the meaning of this problem? [6] // Задача 1409. Два бандита 5 сен 2006 19:31
4 7 - input data
 1  - common can
(4+7)-1=10 - amount of cans
RoBa @ TJU Re: What's the meaning of this problem? [4] // Задача 1409. Два бандита 5 сен 2006 20:01
How can you get "1-common can"?

Or the problem says there must be one common can?
Kaliningrad SU -J_A_MES-HeadLiner Re: What's the meaning of this problem? [3] // Задача 1409. Два бандита 5 сен 2006 20:20
At some moment it happened so that they shot the same can - last can
RoBa @ TJU Re: What's the meaning of this problem? [2] // Задача 1409. Два бандита 6 сен 2006 18:30
Still a little puzzled... Anyway I have got AC, thx for your help :)
yishanerguo Re: What's the meaning of this problem? [1] // Задача 1409. Два бандита 25 сен 2006 10:55
why I am wrong on test2,it seems very easy
Black^n^White Re: What's the meaning of this problem? // Задача 1409. Два бандита 5 окт 2006 23:44
"The 12th High School Pupils Collegiate Programming Contest of the Sverdlovsk Region (October 15, 2005)"

What a mockery  ?!?!

cin >> h >> l;
cout << l-1 << " " << h-1;

And that's all ... (0.001 sec and 220Kb memory used :) )

P.S. 137Kb if it's transformed for C

Edited by author 06.10.2006 00:10
raksha Re: What's the meaning of this problem? // Задача 1409. Два бандита 15 янв 2008 18:50
if
2 3 - imput data
1 common can
(2+3)-1=4 - amount of cans
PPaavveell Re: What's the meaning of this problem? // Задача 1409. Два бандита 30 апр 2007 17:53
readln(n,m);
writeln(m-1,' ',n-1);
dolz Re: What's the meaning of this problem? [2] // Задача 1409. Два бандита 22 авг 2011 03:39
I can explain it easily.

1 1 1 1 "1" 1 1 1 1 1 1 1

the quoted 1 is the can which they will shot it at the same time.

hope i helped after 4 years :D
xueda120 Re: What's the meaning of this problem? // Задача 1409. Два бандита 20 май 2013 12:02
haha thanks
Abdullah Al Ryan Re: What's the meaning of this problem? // Задача 1409. Два бандита 3 июл 2020 00:57
Yes it has helped me after 9 more year

Edited by author 03.07.2020 00:58
Mirzobek Re: What's the meaning of this problem? // Задача 1409. Два бандита 18 окт 2011 11:24
sdsdksk skdk skdkfore