|
|
back to boardwa#2 come in Posted by Chidori 16 Nov 2005 19:52 I have wa#2 for many times, but at last I have done it. If you are in same situation, notice M can be larger than N. You should output something - the largest number in 1..N. Re: wa#2 come in It's can't be. I have wa#2 for many times, but at last I have done it. If you are in same situation, notice M can be larger than N. You should output something - the largest number in 1..N. Re: wa#2 come in I have wa#2 for many times, but at last I have done it. If you are in same situation, notice M can be larger than N. You should output something - the largest number in 1..N. Another reason could be data-type not able to hold values in the range of 0 and 100000 Re: wa#2 come in Posted by Komron 8 Feb 2013 13:48 M is always less or equal to N man, read the problem once more for assurance and also i don't think that WA can be cause of data-type which can't hold values from 0 to 10^6..simple "integer/int" is ok man. Re: wa#2 come in Posted by sky 16 Sep 2014 19:36 test case 2 has exactly 25000 measured values.... eg- 3 10 11 1 19 ... ... ... (25000 integers) -1 so,be careful in declaring the size of array... :)(you can use arr[25001] ). |
|
|