Search found 1 match

by ajoker
Sun Oct 22, 2006 5:16 pm
Forum: Volume 100 (10000-10099)
Topic: 10055 - Hashmat the Brave Warrior
Replies: 166
Views: 77551

10055 - WA

Code: Select all

#include <stdio.h>
long long int a, b;
int main(){
    while(scanf("%lld%lld", &a, &b)==2)
        if(a>b)printf("%lld\n", a - b);
        else printf("%lld\n", b - a);
}
This program got WA, why?

Go to advanced search