UVA 10055 Hashmat the Brave Warrior

#include <cstdio>

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

你可能感兴趣的:(UVA 10055 Hashmat the Brave Warrior)