Codeforces Round #388 (Div. 2), problem: (D) Leaving Auction Solution in C/C++
Codeforces Round #388 (Div. 2), problem: (D) Leaving Auction Solution in C/C++ #include<stdio.h> #include<stdlib.h> typedef unsigned u; u *G,Ga,Gi,M,P,S,V; int F(const void*x,const void*y) { if(M>M)return 1; if(M<M)return-1; if(*(u*)x<*(u*)y)return 1; if(*(u*)x>*(u*)y)return-1; return 0; } int …