Guest User

Untitled

a guest
Aug 18th, 2018
79
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.24 KB | None | 0 0
  1. #include <iostream>
  2.  
  3. using namespace std;
  4.  
  5. int main(){
  6. int a, b;
  7. freopen("input.txt","r",stdin);
  8. freopen("output.txt","w",stdout);
  9. cin >> a;
  10. b = a/10;
  11. if(a==5)
  12. cout << 25;
  13. else
  14. cout << b*(b+1) << 25;
  15. }
Add Comment
Please, Sign In to add comment