Advertisement
a53

sumacifperm

a53
Oct 3rd, 2020
118
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.14 KB | None | 0 0
  1. #include <bits/stdc++.h>
  2. using namespace std;
  3.  
  4. int main()
  5. {
  6. int n;
  7. cin>>n;
  8. cout<<222*(n%10+n/10%10+n/100);
  9. return 0;
  10. }
  11.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement