Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <iostream>
- using namespace std;
- int main(){
- int a, b;
- freopen("input.txt","r",stdin);
- freopen("output.txt","w",stdout);
- cin >> a;
- b = a/10;
- if(a==5)
- cout << 25;
- else
- cout << b*(b+1) << 25;
- }
Add Comment
Please, Sign In to add comment