CanonSharp/OpenSet/24_op_priority2.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

11 lines
153 B
ObjectPascal

{ test the priority of add and mul }
program main;
var a,b,c,d: integer;
begin
a := 10;
b := 4;
c := 2;
d := 2;
write((c + a) * (b - d));
end.