Josif_tepe

Untitled

Jan 22nd, 2026
20
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.14 KB | None | 0 0
  1. #include <iostream>
  2. using namespace std;
  3. int main()
  4. {
  5. int P;
  6. int T;
  7. cin >> P >> T;
  8. cout << 10000-P*120-T*240 <<endl;
  9.    return 0;
  10. }
  11.  
Advertisement
Add Comment
Please, Sign In to add comment