|
|
I don't understand how the answer can be 15. Since the first 2 people got 0 correct predictions and the last person got 1 correct prediction, shouldn't the amount paid only be 5? First two people got more then 0 correct predictions because: "four sets of gold medals, four sets of silver medals, and four sets of bronze medals are awarded" Don't have any idea, give me that or similar test please. What is test case 13? Getting a wrong answer on that case. I had WA13 on FreePascal with TStringList.IndexOf() method. Try write IndexOf (or what you use) "manually". Perhaps this is due to hidden features of string conversion/comparison. What is test 5? I have no idea what is the test #5, but I kept getting it because of a mistake like this: find(v.begin(), v.begin()+4, key) != v.end(). ^^^ must be v.begin()+4 just use <map> Edited by author 07.11.2012 15:05 When say about this this is write correctly. St._Petersburg_SU and St._Petersburg_SU_of_ITMO is not same!!!!!!!!!!!! Sorry, for my ENGLISH Edited by author 04.03.2012 01:44 Edited by author 04.03.2012 01:44 Edited by author 04.03.2012 01:45 Nobody said that they are the same university. You just don't understand the sample. Help plizz :( maximum number of true predictions can be 0. Vadik will pay 5 dollars to all, if there were no any true predictions. Thanks! I got AC. But it makes me wonder really makes me wonder :) Edited by author 22.10.2011 01:44 any idea what test case 13 maybe? any idea what test case 13 maybe? So easy with Java and ArrayList) |
|
|