您的位置:首页 > 其它

UVa OJ 10055-Hashmat the Brave Warrior

2011-01-13 17:37 375 查看
一开始变量开小了,哎:

{
Author:wzx961008
Problem:UVa 10055-Hashmat the Brave Warrior
Verdict:Accepted
Language:PASCAL
Run Time:0.152s
Submission Date:2011-01-13 09:29:12
}
var a,b:int64;
function abs(i:int64):int64;
begin
if i>0 then exit(i)
else exit(-i);
end;
begin
while not eof do begin
readln(a,b);
writeln(abs(a-b));
end;
end.
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: