uva-10055 - Hashmat the Brave Warrior

来源:互联网 发布:蓝牙与单片机通讯 编辑:程序博客网 时间:2024/06/11 20:00

没啥好说的,很简单的一道题目。。。。

 但是WA了一次

#include <stdio.h>
int main()
{
 long long a,b;
    while(scanf("%lld%lld", &a, &b) != EOF)
         printf("%lld\n", a > b ? a - b : b - a);
    return 0;
}

原创粉丝点击