Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <iostream>
- #include <conio.h>
- #include <math.h>
- #include <string>
- #include <algorithm>
- using namespace ::std;
- int main()
- {
- int a=0, b;
- cin >> a >> b;
- cout << max(120+2*(b-40), 119+2*(a-40));
- _getch();
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment