Patrick Ragi (pipo1991)
Pages
Wednesday, 3 October 2012
UVA - 11296 - Counting Solutions to an Integral Equation (C Solution)
#include <stdio.h>
int main()
{
long long n;
while(scanf("%lld",&n)==1){
printf("%lld\n",(n/2+2)*(n/2+1)/2);
}
return 0;
}
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment