mirror of
https://github.com/appinfosapienza/so-un-bot.git
synced 2025-05-07 00:39:38 +02:00
Refactor repo structure
This commit is contained in:
parent
36ac339086
commit
8fc89fbc03
1732 changed files with 3812 additions and 67 deletions
18
Data/Questions/ingsw/0721_13/wrong2.txt
Normal file
18
Data/Questions/ingsw/0721_13/wrong2.txt
Normal file
|
@ -0,0 +1,18 @@
|
|||
<pre>
|
||||
function next
|
||||
input Integer x;
|
||||
output Integer y;
|
||||
algorithm
|
||||
y := x;
|
||||
end next;
|
||||
|
||||
class System
|
||||
Integer x;
|
||||
initial equation
|
||||
x = 0;
|
||||
equation
|
||||
when sample(0, 1) then
|
||||
x = next(pre(x));
|
||||
end when;
|
||||
end System;
|
||||
</pre>
|
Loading…
Add table
Add a link
Reference in a new issue