Codeforces Round #408 (Div. 2), problem: (C) Bank Hacking Solution in C

By | 2017-04-11T10:16:32+00:00 April 11th, 2017|Categories: C/C++, Programming|Tags: , , , , , , , |

#include <limits.h> #include <stdio.h> #include <stdlib.h> #define N 300000 struct E { int i, j, a; } ee[N * 2]; int aa[N], ii[N]; int compare1(const void *a, const void *b) { int *ia = (int *) a; int *ib = (int *) b; int [...]