Search found 1 match

by shahidul
Wed Mar 02, 2011 1:20 pm
Forum: Volume 100 (10000-10099)
Topic: 10055 - Hashmat the Brave Warrior
Replies: 166
Views: 46180

Re: 10055 - Hashmat the Brave Warrior

#include <iostream>
#include<stdio.h>
using namespace std;

int main()
{
unsigned int a,b;
while(scanf("%u %u",&a,&b)!=EOF){
if(a>b)printf("%u\n",(a-b));
else printf("%u\n",(b-a));
}
return 0;
}

Go to advanced search