Codeforces Round #390 (Div. 2), problem: (D) Fedor and Coupons Solution in C/C++

By |2017-04-07T22:11:45+00:00January 6th, 2017|Categories: C/C++, Programming|Tags: , , , , , , |

Codeforces Round #390 (Div. 2), problem: (D) Fedor and Coupons Solution in C/C++     #include <bits/stdc++.h> #include <iostream> #include <queue> #include <set> using namespace std; #define mp make_pair #define fi first #define se second typedef long long ll; ll n,k,ans,l; priority_queue<ll>s; struct item [...]