Advertisement
Alex_tz307

USACO 2019 US Open Contest, Gold Problem 2. I Would Walk 500 Miles

May 31st, 2021
837
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.21 KB | None | 0 0
  1. #include <bits/stdc++.h>
  2.  
  3. using namespace std;
  4.  
  5. ifstream fin("walk.in");
  6. ofstream fout("walk.out");
  7.  
  8. int main() {
  9.   int n, k; fin >> n >> k;
  10.   fout << 2019201997 - 48 * n - 84 * (k - 1);
  11.   return 0;
  12. }
  13.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement