ENG
RUS
Timus Online Judge
Online Judge
Задачи
Авторы
Соревнования
О системе
Часто задаваемые вопросы
Новости сайта
Форум
Ссылки
Архив задач
Отправить на проверку
Состояние проверки
Руководство
Регистрация
Исправить данные
Рейтинг авторов
Текущее соревнование
Расписание
Прошедшие соревнования
Правила
Обсуждение задачи
2152
. Таможенные пошлины
Показать все ветки
Спрятать все ветки
Показать все сообщения
Спрятать все сообщения
RE 16
👑TIMOFEY👑
2152
. Таможенные пошлины
27 фев 2023 18:04
1
RE 16
👑TIMOFEY👑
27 фев 2023 18:04
I think is bigger problem is surmise, what stoi dont work for long long integers
this problem has incomplete tests
👑TIMOFEY👑
2152
. Таможенные пошлины
23 фев 2023 16:14
1
this problem has incomplete tests
👑TIMOFEY👑
23 фев 2023 16:14
mxw can be 1, and all w is about 10^9 and a can be 10^9, then in the worst case we need to withdraw the sum of 10^18 about 10^5 times, so long double should not fit, but it fits
WA5
__Andrewy__
2152
. Таможенные пошлины
18 июн 2022 20:05
3
WA5
__Andrewy__
19 мар 2022 14:57
i use python so long arithmetics is not problem for me
i use greedy algo and try to replace digit to 9
i want to see test
Re: WA5
__Andrewy__
19 мар 2022 17:11
How to solve problem without long arithmetics?
Re: WA5
Nikita Pashmentov (Vologda ML, MIPT)
18 июн 2022 20:05
The main idea of this test following in sorting relative fees instead of absolute fees.
Simple example:
2 1
10 10 1 1
999990 1
100 1
The first package has huge absolute value of fees ((999999 - 10) * 1), but it adds only 9 credits to the initial fees.
Edited by author 18.06.2022 20:06
test 16
Dark_Sun
2152
. Таможенные пошлины
8 июл 2021 11:03
1
test 16
Dark_Sun
8 июл 2021 11:03
please tell me the 16 test
Новая тема
Вид форума:
плоский
|
древовидный
|
классический
Сортировка веток:
всплывающая
|
фиксированная
© 2000–2024
Timus Online Judge Team
. Все права защищены.