CanonSharp/OpenSet/26_op_priority4.pas
jackfiled 89ce313b77 feat: CanonSharp Benchmark. (#4)
Reviewed-on: https://git.bupt-hpc.cn/jackfiled/CanonSharp/pulls/4
Co-authored-by: jackfiled <xcrenchangjun@outlook.com>
Co-committed-by: jackfiled <xcrenchangjun@outlook.com>
2024-08-19 14:37:34 +08:00

17 lines
279 B
ObjectPascal

program main;
var a,b,c,d,e: integer;
flag:boolean;
begin
read(a);
read(b);
read(c);
read(d);
read(e);
flag := false;
if ((a - b * c <> d - a / c) or (a * b / c = e + d) or (a + b + c = d + e)) then
begin
flag := true;
end;
if flag then
write(1);
end.