Advertisement
a53

dreptunghi

a53
May 16th, 2019
134
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.19 KB | None | 0 0
  1. #include <iostream>
  2. #define ULL unsigned long long int
  3. using namespace std;
  4.  
  5. int main()
  6. {
  7. ULL a,b;
  8. cin>>a>>b;
  9. cout<<2*a+2*b<<' '<<a*b<<' '<<a*a+b*b<<'\n';
  10. return 0;
  11. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement