Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <iostream>
- using namespace std;
- int main() {
- int P, T;
- cin >> P >> T;
- P *= 120; // 2 cekori vo sekunda, 60 * 2 cekori vo minuta
- T *= 240; // 4 cekori vo sekunda, 60 * 4 cekori vo minuta
- cout << 10000 - P - T << endl;
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement