USACO Silver 2018 January - Rental Service

Author: Óscar Garries

Official Analysis

C++

C++ Implementation

1#include <bits/stdc++.h>
2
3using namespace std;
4using ll = long long;
5
6bool cmp (const pair<int, int>& a, const pair<int, int>& b) {
7 return a.first > b.first;
8}
9int main() {
10 freopen("rental.in", "r", stdin);

Give Us Feedback on USACO Silver 2018 January - Rental Service!

Join the Discussion!

Feel free to voice your thoughts in the comments section.