#include #include #include using namespace std; const int maxK=105; const int MAXN=100005; struct point{ int id; int x; int y; }; struct runner{ int id; int posID; float speed; }; int main() { int n; point add[MAXN]; float currDist; runner runners[maxK]; int minDist =INT_MAX; int minDistID; int k; ifstream infile; infile.open("runners.in"); ofstream outfile; outfile.open("runners.out"); infile >> n >> k; for(int i =0; i>runners[i].speed; runners[i].posID=i; runners[i].id = i; } for(int i=0;i> add[i].x>>add[i].y; } /* for(int i=0;i" << minDistID+1 << " za " << minDist << '\n'; outfile<