1001.Alice and Bob

签到题*1,只要x * 2 == n && y * 2 == m就满足条件。

1 var
2   m, n, x, y : int64;
3   
4 begin
5   while not eof do begin
6     readln(m, n, x, y);
7     if (m = 2 * x) and (n = 2 * y) then writeln('YES') else writeln('NO');
8   end;
9 end.
View Code

相关文章: