Advertisement
noshin98

uva 10302

Jul 12th, 2016
367
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 0.14 KB | None | 0 0
  1. #include<stdio.h>
  2. int main()
  3. {
  4. long  long int n;
  5. while(scanf("%lld",&n)==1)
  6. {
  7. printf("%lld\n",(n*n*(n+1)*(n+1))/4);
  8. }
  9. return 0;
  10. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement