aelezi | Mar.15.2016 at 10:49:09 AM
|
0 | Сообщение скрыто
|
imesecan | Mar.19.2016 at 10:30:54 AM | |
1 | The question says there may be 200.000 numbers. This means you cannot use quadratic solution here.
You need to read numbers and sort them. Then using Binary search, search for the complementary number.
|
imesecan | Apr.28.2017 at 06:41:59 AM | |
2 | --- Test 2--- 10 2 5 4 3 2 -3 6 -2 1 0 -4
--- Pattern --- 4
|
imesecan | Apr.28.2017 at 06:42:54 AM | |
3 | --- Test 1 --- 7 5 0 3 2 1 -4 9 -2
--- Pattern --- 2
|