CanonSharp/OpenSet/32_assign_complex_expr.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

14 lines
236 B
ObjectPascal

program main;
var a, b, c, d, e: integer;
begin
a := 5;
b := 5;
c := 1;
d := -2;
e := (d * 1 div 2) + (a - b) - -(c + 3) mod 2;
write(e);
e := ((d mod 2 + 67) + -(a - b) - -((c + 2) mod 2));
e := e + 3;
write(e);
end.