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

相关文章:

  • 2021-10-03
  • 2021-12-12
  • 2021-05-21
  • 2021-07-19
  • 2021-10-22
  • 2021-10-22
  • 2021-08-18
  • 2021-07-29
猜你喜欢
  • 2022-01-07
  • 2021-10-17
  • 2022-12-23
  • 2022-12-23
  • 2021-08-13
  • 2021-09-28
  • 2021-07-17
相关资源
相似解决方案