На форумі обговорюються лише питання, пов'язані з олімпіадою
Ви не зайшли.
Кто-нибудь поделитесь какими-нибудь каверзными тестами.
(Свои тесты – хорошо, а чужие – лучше)
Поза форумом
DSP
5 5 2 3
Поза форумом
Fokysnik написав:
DSP
5 5 2 3
Интересно узнать правильный отве... Мой например 3, кто-то не согласен?
Поза форумом
Мда... Нетерпеливый народ... Подождите хоть окончания тура ради приличия...
Поза форумом
Несогласен
У меня 4
Поза форумом
Vova написав:
Несогласен
У меня 4
Сочуствую...
Поза форумом
Для 4 тоже сочувствую...
В условии сказано:
Специализированный
станок может распилить любой кусок ДСП только параллельно
кромке и только от края до края.
А твой ответ, видимо такой:
11122
11122
33022
33444
33444
Ну как же тут от края до края?
Поза форумом
Ответ три!!! Все вопросы: см. условие!!!
Поза форумом
Я уже понял и исправился
Поза форумом
А другие задачи как?
Например WOOD:
500 -0.628 0.000 -1.885 0.016 -3.141 0.047 -4.397 0.095 -5.652 0.158 -6.906 0.237 -8.159 0.331 -9.411 0.442 -10.661 0.568 -11.910 0.710 -13.156 0.867 -14.401 1.040 -15.643 1.229 -16.883 1.434 -18.121 1.654 -19.355 1.889 -20.586 2.140 -21.814 2.406 -23.039 2.688 -24.260 2.985 -25.477 3.298 -26.690 3.626 -27.899 3.969 -29.104 4.327 -30.304 4.700 -31.499 5.088 -32.689 5.492 -33.874 5.910 -35.053 6.343 -36.228 6.791 -37.396 7.254 -38.558 7.731 -39.715 8.223 -40.865 8.729 -42.009 9.250 -43.146 9.785 -44.276 10.334 -45.399 10.897 -46.515 11.475 -47.624 12.066 -48.725 12.672 -49.819 13.291 -50.904 13.924 -51.982 14.570 -53.051 15.230 -54.112 15.904 -55.165 16.590 -56.208 17.290 -57.243 18.003 -58.269 18.729 -59.286 19.467 -60.293 20.219 -61.291 20.983 -62.279 21.759 -63.257 22.548 -64.225 23.349 -65.183 24.162 -66.131 24.987 -67.069 25.824 -67.995 26.672 -68.911 27.533 -69.817 28.404 -70.711 29.287 -71.594 30.181 -72.465 31.087 -73.326 32.003 -74.174 32.929 -75.011 33.867 -75.836 34.815 -76.649 35.773 -77.450 36.741 -78.239 37.719 -79.016 38.707 -79.779 39.705 -80.531 40.712 -81.269 41.729 -81.995 42.755 -82.708 43.790 -83.408 44.833 -84.094 45.886 -84.768 46.947 -85.428 48.016 -86.074 49.094 -86.707 50.180 -87.326 51.273 -87.932 52.374 -88.523 53.483 -89.101 54.599 -89.664 55.722 -90.213 56.852 -90.748 57.989 -91.269 59.133 -91.775 60.283 -92.267 61.440 -92.745 62.602 -93.207 63.770 -93.655 64.945 -94.088 66.124 -94.506 67.309 -94.910 68.499 -95.298 69.694 -95.671 70.894 -96.029 72.099 -96.372 73.308 -96.700 74.521 -97.013 75.738 -97.310 76.959 -97.592 78.184 -97.858 79.412 -98.109 80.643 -98.345 81.877 -98.564 83.115 -98.769 84.355 -98.958 85.597 -99.131 86.842 -99.288 88.088 -99.430 89.337 -99.556 90.587 -99.667 91.839 -99.761 93.092 -99.840 94.346 -99.903 95.601 -99.951 96.857 -99.982 98.113 -99.998 99.370 -99.998 100.626 -99.982 101.883 -99.951 103.139 -99.903 104.395 -99.840 105.650 -99.761 106.904 -99.667 108.157 -99.556 109.409 -99.430 110.659 -99.288 111.908 -99.131 113.154 -98.958 114.399 -98.769 115.641 -98.564 116.881 -98.345 118.119 -98.109 119.353 -97.858 120.584 -97.592 121.812 -97.310 123.037 -97.013 124.258 -96.700 125.475 -96.372 126.688 -96.029 127.897 -95.671 129.102 -95.298 130.302 -94.910 131.497 -94.506 132.687 -94.088 133.872 -93.655 135.051 -93.207 136.226 -92.745 137.394 -92.267 138.556 -91.775 139.713 -91.269 140.863 -90.748 142.007 -90.213 143.144 -89.664 144.274 -89.101 145.397 -88.523 146.513 -87.932 147.622 -87.326 148.723 -86.707 149.817 -86.074 150.902 -85.428 151.980 -84.768 153.049 -84.094 154.110 -83.408 155.163 -82.708 156.206 -81.995 157.241 -81.269 158.267 -80.531 159.284 -79.779 160.291 -79.016 161.289 -78.239 162.277 -77.450 163.255 -76.649 164.223 -75.836 165.181 -75.011 166.129 -74.174 167.067 -73.326 167.993 -72.465 168.909 -71.594 169.815 -70.711 170.709 -69.817 171.592 -68.911 172.463 -67.995 173.324 -67.069 174.172 -66.131 175.009 -65.183 175.834 -64.225 176.647 -63.257 177.448 -62.279 178.237 -61.291 179.014 -60.293 179.777 -59.286 180.529 -58.269 181.267 -57.243 181.993 -56.208 182.706 -55.165 183.406 -54.112 184.092 -53.051 184.766 -51.982 185.426 -50.904 186.072 -49.819 186.705 -48.725 187.324 -47.624 187.930 -46.515 188.521 -45.399 189.099 -44.276 189.662 -43.146 190.211 -42.009 190.746 -40.865 191.267 -39.715 191.773 -38.558 192.265 -37.396 192.743 -36.228 193.205 -35.053 193.653 -33.874 194.086 -32.689 194.504 -31.499 194.908 -30.304 195.296 -29.104 195.669 -27.899 196.027 -26.690 196.370 -25.477 196.698 -24.260 197.011 -23.039 197.308 -21.814 197.590 -20.586 197.856 -19.355 198.107 -18.121 198.343 -16.883 198.562 -15.643 198.767 -14.401 198.956 -13.156 199.129 -11.910 199.286 -10.661 199.428 -9.411 199.554 -8.159 199.665 -6.906 199.759 -5.652 199.838 -4.397 199.901 -3.141 199.949 -1.885 199.980 -0.628 199.996 0.628 199.996 1.885 199.980 3.141 199.949 4.397 199.901 5.652 199.838 6.906 199.759 8.159 199.665 9.411 199.554 10.661 199.428 11.910 199.286 13.156 199.129 14.401 198.956 15.643 198.767 16.883 198.562 18.121 198.343 19.355 198.107 20.586 197.856 21.814 197.590 23.039 197.308 24.260 197.011 25.477 196.698 26.690 196.370 27.899 196.027 29.104 195.669 30.304 195.296 31.499 194.908 32.689 194.504 33.874 194.086 35.053 193.653 36.228 193.205 37.396 192.743 38.558 192.265 39.715 191.773 40.865 191.267 42.009 190.746 43.146 190.211 44.276 189.662 45.399 189.099 46.515 188.521 47.624 187.930 48.725 187.324 49.819 186.705 50.904 186.072 51.982 185.426 53.051 184.766 54.112 184.092 55.165 183.406 56.208 182.706 57.243 181.993 58.269 181.267 59.286 180.529 60.293 179.777 61.291 179.014 62.279 178.237 63.257 177.448 64.225 176.647 65.183 175.834 66.131 175.009 67.069 174.172 67.995 173.324 68.911 172.463 69.817 171.592 70.711 170.709 71.594 169.815 72.465 168.909 73.326 167.993 74.174 167.067 75.011 166.129 75.836 165.181 76.649 164.223 77.450 163.255 78.239 162.277 79.016 161.289 79.779 160.291 80.531 159.284 81.269 158.267 81.995 157.241 82.708 156.206 83.408 155.163 84.094 154.110 84.768 153.049 85.428 151.980 86.074 150.902 86.707 149.817 87.326 148.723 87.932 147.622 88.523 146.513 89.101 145.397 89.664 144.274 90.213 143.144 90.748 142.007 91.269 140.863 91.775 139.713 92.267 138.556 92.745 137.394 93.207 136.226 93.655 135.051 94.088 133.872 94.506 132.687 94.910 131.497 95.298 130.302 95.671 129.102 96.029 127.897 96.372 126.688 96.700 125.475 97.013 124.258 97.310 123.037 97.592 121.812 97.858 120.584 98.109 119.353 98.345 118.119 98.564 116.881 98.769 115.641 98.958 114.399 99.131 113.154 99.288 111.908 99.430 110.659 99.556 109.409 99.667 108.157 99.761 106.904 99.840 105.650 99.903 104.395 99.951 103.139 99.982 101.883 99.998 100.626 99.998 99.370 99.982 98.113 99.951 96.857 99.903 95.601 99.840 94.346 99.761 93.092 99.667 91.839 99.556 90.587 99.430 89.337 99.288 88.088 99.131 86.842 98.958 85.597 98.769 84.355 98.564 83.115 98.345 81.877 98.109 80.643 97.858 79.412 97.592 78.184 97.310 76.959 97.013 75.738 96.700 74.521 96.372 73.308 96.029 72.099 95.671 70.894 95.298 69.694 94.910 68.499 94.506 67.309 94.088 66.124 93.655 64.945 93.207 63.770 92.745 62.602 92.267 61.440 91.775 60.283 91.269 59.133 90.748 57.989 90.213 56.852 89.664 55.722 89.101 54.599 88.523 53.483 87.932 52.374 87.326 51.273 86.707 50.180 86.074 49.094 85.428 48.016 84.768 46.947 84.094 45.886 83.408 44.833 82.708 43.790 81.995 42.755 81.269 41.729 80.531 40.712 79.779 39.705 79.016 38.707 78.239 37.719 77.450 36.741 76.649 35.773 75.836 34.815 75.011 33.867 74.174 32.929 73.326 32.003 72.465 31.087 71.594 30.181 70.711 29.287 69.817 28.404 68.911 27.533 67.995 26.672 67.069 25.824 66.131 24.987 65.183 24.162 64.225 23.349 63.257 22.548 62.279 21.759 61.291 20.983 60.293 20.219 59.286 19.467 58.269 18.729 57.243 18.003 56.208 17.290 55.165 16.590 54.112 15.904 53.051 15.230 51.982 14.570 50.904 13.924 49.819 13.291 48.725 12.672 47.624 12.066 46.515 11.475 45.399 10.897 44.276 10.334 43.146 9.785 42.009 9.250 40.865 8.729 39.715 8.223 38.558 7.731 37.396 7.254 36.228 6.791 35.053 6.343 33.874 5.910 32.689 5.492 31.499 5.088 30.304 4.700 29.104 4.327 27.899 3.969 26.690 3.626 25.477 3.298 24.260 2.985 23.039 2.688 21.814 2.406 20.586 2.140 19.355 1.889 18.121 1.654 16.883 1.434 15.643 1.229 14.401 1.040 13.156 0.867 11.910 0.710 10.661 0.568 9.411 0.442 8.159 0.331 6.906 0.237 5.652 0.158 4.397 0.095 3.141 0.047 1.885 0.016 0.628 0.000 0.75
У меня:
1.70709007293080E+0002
Поза форумом
170.71
Поза форумом
BUILDING
100 100 1 0 1 1 1 0 1 0 1 0 1 0 0 1 0 1 1 0 1 1 1 1 0 1 0 1 0 1 0 1 0 0 1 1 0 0 0 0 1 0 0 0 0 1 0 0 0 1 1 1 1 0 0 1 0 1 0 1 0 1 1 0 0 1 0 1 1 1 1 1 1 0 0 1 1 1 1 1 0 1 1 1 0 1 0 0 1 0 1 0 1 1 1 0 0 0 1 0 1 1 0 1 0 0 0 1 0 0 0 0 0 1 1 1 0 0 1 0 0 0 1 1 1 0 1 1 1 1 0 1 0 0 1 1 1 0 1 1 0 1 0 0 1 1 1 0 1 1 0 1 0 1 0 1 0 0 1 0 0 1 0 1 1 0 1 1 0 0 1 0 1 1 1 1 0 0 1 0 0 0 0 1 0 1 0 0 0 0 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0 1 0 0 1 1 1 1 1 1 1 0 1 0 1 0 1 1 0 1 0 0 1 1 0 0 0 1 0 1 1 0 1 1 0 1 0 0 0 0 0 0 1 0 1 0 0 1 1 0 0 1 0 0 0 1 1 1 1 0 0 1 0 1 1 1 1 0 1 0 0 0 0 1 0 1 1 0 0 0 1 1 1 0
Ответ:
2706
COUNTRY
23 1 1 3 2 2 1 3 3 3 1 3 1 3 3 2 1 3 2 1 2 1 3 2
Ответ:
5
Поза форумом
building 2706
Відредаговано manuel (2005-12-19 23:57:57)
Поза форумом
http://deservethepain.nm.ru/file.rar
Это Wood
Відредаговано Raziel Redstone (2005-12-20 00:04:02)
Поза форумом
Building 2706
Поза форумом
Вот тока на Деревне чё-то 6
Ща буду проверять...(на бумаге )
Поза форумом
... да не, заценил масштаб трагедии, чё-то в лом стало ручками
Поза форумом
2 Raziel Redstone
1.87237804214909E+0004
Поза форумом
Маловато будет.
Должно быть около 29340.397.
Відредаговано Raziel Redstone (2005-12-20 00:22:53)
Поза форумом
Все равно поздно что-либо менять.
Но буду разбираться
Поза форумом
Чем только народ не страдает :-)
Написали бы лучше новую ОС ;-)
Поза форумом
Хороший генератор. Ща только переделаю под свою проверялку и все ОК!
Поза форумом
Набор тестов - 2 тур: http://www.proveryalka.narod.ru/tests.html
Поза форумом
ROBOT написав:
Набор тестов - 2 тур: http://www.proveryalka.narod.ru/tests.html
Полезная вещь твоя проверялка!
Поза форумом
Ну вот, как и обещал:
Генераторы для всех задач 2-го тура
Делает как входные, так и выходные данные... Код не оптимизировал - в лом. Но если кому-то вдруг захочется, буду только рад.
Тесты не делал, так как заливать 20 метров с дьявола - это ж чокнуться можно
Відредаговано Raziel Redstone (2005-12-20 20:05:22)
Поза форумом