Advertisement
Josif_tepe

Untitled

Dec 9th, 2023
472
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.     int pesacanje, trcanje;
  6.     cin >> pesacanje >> trcanje;
  7.    
  8.     int cekori_pesacanje = pesacanje * 60 * 2;
  9.     int cekori_trcanje = trcanje * 60 * 4;
  10.    
  11.     cout << 10000 - cekori_trcanje - cekori_pesacanje << endl;
  12.     return 0;
  13. }
  14.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement