Advertisement
alex326

Untitled

Jan 21st, 2018
66
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.15 KB | None | 0 0
  1. problema 175
  2.  
  3. #include <iostream>
  4. using namespace std;
  5. int main()
  6. {
  7. int G,O,C,P;
  8. cin>>G>>O;
  9. cout<<G+O<<" "<<2*G+4*O;
  10. return 0;
  11. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement