Codeforces Round #378 (Div. 2), problem: (D) Kostya the Sculptor Solution In C

By |2017-04-07T22:11:50+00:00November 1st, 2016|Categories: C/C++, Programming|Tags: , , , , , , , , , , , |

#include #include #define N 100000 #define M 1000000007 #define MIN(A, B) ((A) < (B) ? (A) : (B)) int i1, i2, k; double max; struct item { int i, a, b, c; struct item *next; } *ht[N]; int hash(int a, int b) { long [...]