CanonSharp/OpenSet/27_op_priority5.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

16 lines
286 B
ObjectPascal

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