|
|
Show all threads Hide all threads Show all messages Hide all messages | RE 16 | 👑TIMOFEY👑 | 2152. Tax Fees | 27 Feb 2023 18:04 | 1 | RE 16 👑TIMOFEY👑 27 Feb 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. Tax Fees | 23 Feb 2023 16:14 | 1 | 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. Tax Fees | 18 Jun 2022 20:05 | 3 | WA5 __Andrewy__ 19 Mar 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 Mar 2022 17:11 How to solve problem without long arithmetics? Re: WA5 Nikita Pashmentov (Vologda ML, MIPT) 18 Jun 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. Tax Fees | 8 Jul 2021 11:03 | 1 | please tell me the 16 test |
|
|
|