Advertisement
StoneHaos

945

Oct 29th, 2019
273
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.28 KB | None | 0 0
  1. //945
  2. #include <iostream>
  3. #include <cstdio>
  4. using namespace std;
  5.  
  6. int main(void) {
  7.     ios_base::sync_with_stdio(false);
  8.     cin.tie(NULL);
  9.     freopen("input.txt", "r", stdin);
  10.     freopen("output.txt", "w", stdout);
  11.     int n;
  12.     cin >> n;
  13.     cout << n * 750 - n / 13 * 350;
  14.     return 0;
  15. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement