Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
AVANZINI Martin
ecoimp
Commits
91937b73
Commit
91937b73
authored
Nov 21, 2019
by
AVANZINI Martin
Browse files
Merge branch 'new-solver' of gitlab.inria.fr:mavanzin/pwhile into new-solver
parents
266aa412
45c3cdeb
Changes
1
Hide whitespace changes
Inline
Side-by-side
examples/pldi/bridge.imp
0 → 100644
View file @
91937b73
# variation of random walk
def bridge():
var a, b, n
while a < x and x < b:
tick 1
prob(1,1):
x = x - 1
else:
x = x + 1
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment