surete tp1

This commit is contained in:
JOLIMAITRE Matthieu 2024-03-10 21:33:20 +01:00
parent 41bc6fdbf2
commit a85bb57d9a
12 changed files with 199 additions and 0 deletions

View file

@ -0,0 +1,13 @@
node count_true
(i: bool)
returns
(o: int);
var
V8_prev: int;
let
o = (if i then (V8_prev + 1) else V8_prev);
V8_prev = (0 -> (pre o));
tel