HomeVolumesContestsSectionsForumsUsersPrintHelpAbout

Forums > Discussion of problems > topic:


Problem "50549 - k-Nearest Neighbours (kNN)"

There is a contest!

В настоящий момент идёт турнир. Некоторая информация и функции сервера недоступны до его окончания.

imesecanSep.20.2015 at 11:55:50 AM
0-- Test 1 ---
10 4 8 6 6
11 10 9
10 3 11
4 5 9
9 10 3
12 3 4
4 3 5
7 7 12
5 11 3
7 11 6
4 10 2

--- Pattern ---
20.40

imesecanJune.09.2017 at 09:52:38 AM
1the memory on server may be not sufficient for this large structure. Instead of declaring an array, you can declare a pointer array.

Point *a= new Point[n];


www.contester.ru