Advertisement
Josif_tepe

Untitled

Jan 28th, 2024
515
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.30 KB | None | 0 0
  1. #include <iostream>
  2. using namespace std;
  3.  
  4. int main()
  5. {
  6.     int pesacenje, trcanje;
  7.     cin >> pesacenje >> trcanje;
  8.    
  9.     int cekori_pesacenje = pesacenje * 60 * 2;
  10.     int cekori_trcanje = trcanje * 60 * 4;
  11.    
  12.     cout << 10000 - cekori_trcanje - cekori_pesacenje << endl;
  13.     return 0;
  14. }
  15.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement