|
|
Показать все ветки Спрятать все ветки Показать все сообщения Спрятать все сообщения | Test data | Tolstobrov Anatoliy[Ivanovo SPU] | 1739. Фарюки | 9 янв 2018 21:17 | 2 | Test data Tolstobrov Anatoliy[Ivanovo SPU] 10 окт 2016 19:09 Some data which will help understand problem and test it! Test: 2 40 223 Answer: 3 aromatize 1 dearomatize 1 take 2 1 2 Test: 3 50 55 158 Answer: 3 aromatize 2 dearomatize 1 take 3 1 2 3 Test: 4 100 512 128 146 Answer: 3 aromatize 1 dearomatize 2 take 4 1 2 3 4 Test: 2 100 135 Answer: IMPOSSIBLE Test: 2 400 31 Answer: IMPOSSIBLE Test: 2 100 171 Answer: IMOSSIBLE Thank you very much! I got AC from first submit after my code finally work on all your test cases. | Very severe test: #25 | SkidanovAlex | 1739. Фарюки | 26 июл 2017 14:43 | 3 | As stated in the statement, after spraying or aromatizing of fruit it may become to have fractional value. 25th test is the first case where you need to aromatize one flower and dearomatize another in such way that both of them have fractional value, but their sum is integer. Edited by author 07.11.2009 05:19 I've changed my algorithm, but have got WA25->WA19. Who knows what does it mean? Nevermind, I had a stupid bug with bitmasks (I'm wondering how it could pass 19-25 tests). Thank you very much, this was a non-obvious test. | wa #8 | aabbyy | 1739. Фарюки | 10 июл 2016 00:34 | 2 | wa #8 aabbyy 2 ноя 2013 12:05 can someone give me some tips or tests? You can only use both modifiers once during whole process; you can't restock between "take" operations. For example, answer for test 4 208 100 208 100 is IMPOSSIBLE (at least according to my AC program): you can take 208, 100 by using deodorant on 208, but you can't do it twice. | TO ADMINS | bsu.mmf.team | 1739. Фарюки | 17 янв 2014 01:02 | 3 | My AC program works very slowly on the following test: 12 256 256 256 256 256 256 256 256 256 256 256 1 Can you add it to the testset? and this one: 12 22 22 20 20 20 20 20 20 20 20 20 156 one more 12 159 205 210 159 218 66 256 38 135 47 249 169 | CLARIFICATION | Vedernikoff Sergey (HSE: АОП) | 1739. Фарюки | 6 сен 2010 17:43 | 1 | "When a faryuk is sprayed upon with the deodorant, its aroma strength decreases by 25 percent. When a faryuk is scented, its aroma strength increases by 10 percent. (In both cases, the aroma strength can become fractional)." The question is about what is the base for calculations of 10% and 25% if we spray one faryuk several times: is it 10% and 25% of _initial_ aroma strength of a faryuk, or 10%/25% of aroma strength which we got after first aromatization? | if return 0 ? | svr | 1739. Фарюки | 28 июл 2010 14:44 | 2 | If we return 0 things must we write return 0 or return ? Also is not clear must we count returnings with 0 things? Not clear 3: Can we take bottle with each returning? Edited by author 11.11.2009 10:56 from statement: " if you want to return to the plantation s !>! 0". So, we mustn't output anything if we just return to the plantation with empty hands. |
|
|
|