|
|
Показать все ветки Спрятать все ветки Показать все сообщения Спрятать все сообщения | WA2 | Yury_Semenov | 1473. Ферма 2 | 25 янв 2024 12:48 | 1 | WA2 Yury_Semenov 25 янв 2024 12:48 | Invalid test | aid | 1473. Ферма 2 | 8 авг 2019 23:41 | 2 | There seems to be some junk at the end of test 27. My solution with "while (read()) solve();" got WA but when I removed it I got OK. Test was fixed. Thank you! | Very nice problem! | crdp | 1473. Ферма 2 | 5 май 2013 23:03 | 1 | | Please give me some tests | Dimitrije | 1473. Ферма 2 | 19 апр 2012 01:15 | 4 | I have WA3, give me some tests, please!!! Now I have WA11, and I can't find any bug in my code! Could you give me test #11? Please give me test #11, I have changed my code for 100 times and in every case it fails on test #11! try test: 3 1 2 1 1 1 2 2 1 1 ans: 3 2 -3 -3 2 1 1 | WA13 | Jurca Razvan | 1473. Ферма 2 | 9 май 2009 16:45 | 2 | WA13 Jurca Razvan 8 май 2009 22:37 Is there anything special about this test?...I don't see anything wrong with my code. I had a bug that sometimes created numbers that exceeded 2000000000. | Minor fix | Denis Koshman | 1473. Ферма 2 | 8 сен 2008 16:54 | 2 | "If strictly more than half of experts think that the animal is a camel, then the commission reports to the farmer that his new animal is a camel. A similar rule applies to the case when strictly more than half of experts believe that the animal is a camel." I think the last word must be "sheep" | To admins | IGOR_Lviv NU | 1473. Ферма 2 | 5 авг 2008 19:04 | 5 | Why does this code get crash on test 27? ... int N; scanf("%d", &N); int x; int y; int z; for(int i = 0, i < N; ++i) { scanf("%d%d%d", &x, &y, &z); if(z != 2 && z != 1) throw 25; ... Is it so hard to answer me?!!! Maybe Crash is somewhere else? #include <cstdio> int main() { int N,i; scanf("%d", &N); if (N<1 || N>10000) throw 25; int x; int y; int z; for(i = 0; i < N; ++i) { scanf("%d%d%d", &x, &y, &z); if (z != 2 && z != 1) throw 25; if (x<0 || x>10000 || y<0 || y>10000) throw 25; } return 0; } This code doesn't got Crash on any test. Look for a bug in your program. Edited by author 01.12.2007 12:30 В следующих K строках выведите через пробел числа ai и bi — величины, которыми могут руководствоваться "экперты" при принятии решения. | Легенда | Ilya Rasenstein (Lyceum #40) | 1473. Ферма 2 | 27 фев 2007 16:48 | 4 | Легенда Ilya Rasenstein (Lyceum #40) 12 дек 2006 11:18 Нет, задача конечно хорошая, но легенда - это вообще что-то с чем-то. :)) But too simple? 1) Sort rays (ai,bi) by angle; 2) if on ray >1 point-Impossible; 3) find integer bissectors or near bissectors between rays (qi,hi); 4) -hi,qi- answers |
|
|
|