|
|
Показать все ветки Спрятать все ветки Показать все сообщения Спрятать все сообщения | Страница 1 | clarifying problem | So Sui Ming | 1885. Комфорт пассажиров | 18 дек 2023 09:55 | 1 | ... airplane must climb to an altitude of h meters during the first t seconds of the flight ... Can time be less than t when height h is attained ? Edited by author 18.12.2023 11:15 Edited by author 18.12.2023 11:15 | use printf("%.8f) | Pegasus | 1885. Комфорт пассажиров | 19 ноя 2012 18:13 | 1 | | Solution | sdlcj | 1885. Комфорт пассажиров | 13 июн 2013 01:11 | 3 | Note that : print the double is ok! Solution is very simple but I couldn`t firstly find it. It is a set of equations, everybody learned it at school. Simply try to solve this: y+z=t and v*y+x*z=h, where Y is MIN time and Z is t-MIN time. Try to find MAX by yourself. Sorry for my awful English. Good luck:) Edited by author 13.06.2013 01:13 | test | Radi Muhammad Reza | 1885. Комфорт пассажиров | 26 янв 2013 22:31 | 12 | test Radi Muhammad Reza 30 окт 2011 09:34 10000 500 50 40 best of luck Re: test IgorKoval(from Pskov) 30 окт 2011 23:40 What is answer on this test? =) Re: test IgorKoval(from Pskov) 31 окт 2011 03:34 So....., how get this answer? Explain, please. =) If the plane flies at speed 40, it will reach required height in 250 seconds, i.e. it will do it in time (less, than 500), and there are no time when it exceeded the speed limit (when passengers have their ears blocked). So, mintime = 0. Maxtime is 250, because the plane can fly all the way at speed = 40 + EPS :) Edited by author 31.10.2011 13:02 Re: test IgorKoval(from Pskov) 31 окт 2011 18:08 Thank you very mutch!!! AC! =) And just for fun tests: Test #1 h == 10000 && t2 == 500 && Vm == 50 && x == 10 Test #2 h == 10000 && t2 == 500 && Vm == 50 && x == 9 Test #3 h == 10000 && t2 == 500 && Vm == 50 && x == 11 Test #4 h == 10000 && t2 == 500 && Vm == 50 && x == 20 Test #5 h == 10000 && t2 == 500 && Vm == 50 && x == 19 Test #6 h == 10000 && t2 == 500 && Vm == 50 && x == 21 ans: 0.000000000000000 476.190476190476200 Re: test Kartik Andalam 9 апр 2012 04:33 Hey there, Is it possible for you to explain the last one. why is it 476..19....? Thanks Answers for tests IgorKoval(from Pskov) 125.00000 500.000000 134.146341 500.0000000 115.384615 500.0000000 0.000000 500.000000 16.129032 500.000000 0.0000000 476.190476 Edited by author 26.01.2013 22:32 What does the EPS mean? How much it must be? EPS is very small positive number. For example, you may assume EPS = 10^-2011 Thank you very much! But I didn't think that it must be SO small. | wa6 | ssau_617_korabelnik | 1885. Комфорт пассажиров | 13 июн 2013 01:18 | 4 | wa6 ssau_617_korabelnik 29 окт 2011 21:34 what's test? Edited by author 29.10.2011 21:35 Re: wa6 Nguyen Khac Tung 30 окт 2011 08:40 For me, wa6 means max formula is wrong somewhere Re: wa6 IgorKoval(from Pskov) 31 окт 2011 18:09 Test #6 h == 10000 && t2 == 500 && Vm == 50 && x == 21 ans: 0.000000000000000 476.190476190476200 see other topik For me, wa6 means max formula is wrong somewhere No, the formula is right. But think about MAX time, it also can be real, not only MIN. | No subject | Rashid Gaziyev | 1885. Комфорт пассажиров | 29 окт 2011 15:52 | 1 | Edited by author 04.11.2011 19:17 | Погрешность | MegaFPyKT | 1885. Комфорт пассажиров | 2 авг 2012 11:24 | 3 | Почему написано погрешность не должна превосходить 10е−6, при том что в примере выводят с точностью в 10е-1? И при какой скорости закладывает уши? Больше х это х+10е-6, или может это не учитывать? Edited by author 29.10.2011 15:28 Stigius you're the smartest I can see | speed | MSUSB3 | 1885. Комфорт пассажиров | 29 окт 2011 15:30 | 2 | speed MSUSB3 29 окт 2011 15:25 can speed be real or equal to 0? Edited by author 29.10.2011 15:26 Edited by author 29.10.2011 15:26 Re: speed ...†.†.†... Stigius ...†.†.†... 29 окт 2011 15:30 | seconds | fenvik92 | 1885. Комфорт пассажиров | 29 окт 2011 15:32 | 3 | Can "t" be equal to 63.2. Or we must write 64.0 Re: seconds ...†.†.†... Stigius ...†.†.†... 29 окт 2011 15:29 | What is precision? | Rashid Gaziyev | 1885. Комфорт пассажиров | 29 окт 2011 15:00 | 5 | how many digits after decimal point should we print? Read the problem statement Not greater than 6 decimals isn't it? | Задача А Набор за время менее t | bavykinE | 1885. Комфорт пассажиров | 14 сен 2012 12:14 | 11 | Разрешается ли набирать высоту за время меньшее чем t? Почему в ваших тестах при максимальной скорости подъёма в 50, вы поднимаетесь со скоростью в 80? (тест первый, другие не знаю) Because questions either have no sense or have answers in statement. почаму в тесте минималка 125 секунд как так ? мин же будет 200 поделитесь кто нибудь своим опытом The key is noticing that the plane may change speeds, as noted in the problem, and changes speeds instantly. Edited by author 29.10.2011 13:54 Edited by author 29.10.2011 13:54 Edited by author 29.10.2011 13:55 |
Страницы: 1 |
|
|