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
24.How we are find out second in year:
#include<stdio.h> int main() { printf("number of seconds in a year:\n"); printf("%f\n",60.0*60.0*24....
acm 10469 To Carry or not to Carry
#include<stdio.h> int main() { unsigned long a,b; while(scanf("%lu %lu",&a,&b)!=EOF) { printf(...
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