CanonSharp/OpenSet/29_unary_op2.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
201 B
ObjectPascal

program main;
var a,b: integer;
begin
a := 56;
b := 4;
a := a - - 4 + +b;
if (- not not not a <> 65) then
begin
a := - - -1;
end
else
begin
a := 0 + +b;
end;
write(a);
end.