skip to main
|
skip to sidebar
Pages
Home
Basic proggraming c
Programming
ACM SOLVE AND SOLUTIONS.ACM means that Association for Computing Machinery.
About Me
Unknown
View my complete profile
Powered by
Blogger
.
Popular Posts
acm 12468 Zapping:
#include<stdio.h> int main() { int a,b,c,t; while(scanf("%d %d",&a,&b)) { if(a==(-1)&&b...
acm 10302 summation of polynomials:
#include<stdio.h> int main() { long double x,sum; while(scanf("%Lf",&x)==1) { sum=(x*(x+1)*x*...
Blogger news
About me
I'm Ashim chakrabarty.I study at Computer science & engineering in Chittagong university,Bangladesh.I come from Moulvibazar,Sylhet,Bangladesh.
Wednesday, March 6, 2013
acm 10055 hashmat
#include<stdio.h>
int main()
{
long int m,n,add;
while(scanf("%ld%ld",&m,&n)!=EOF)
{
if(m>n)
add=m-n;
else
add=n-m;
printf("%ld\n",add);
}
return 0;
}
0 comments:
Post a Comment
Newer Post
Home
Subscribe to:
Post Comments (Atom)
Search This Blog
Translate
0 comments:
Post a Comment