projects
/
culture.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4502a10
)
Update.
author
François Fleuret
<francois@fleuret.org>
Sun, 2 Jul 2023 17:13:09 +0000
(19:13 +0200)
committer
François Fleuret
<francois@fleuret.org>
Sun, 2 Jul 2023 17:13:09 +0000
(19:13 +0200)
main.py
patch
|
blob
|
history
diff --git
a/main.py
b/main.py
index
bb1e7b4
..
8c4b7a1
100755
(executable)
--- a/
main.py
+++ b/
main.py
@@
-968,7
+968,9
@@
class TaskStack(Task):
)
#!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
- input = self.test_input[:10, :50]
+ l=50
+ l=l-l%(1+self.nb_digits)
+ input = self.test_input[:10, :l]
result = input.clone()
stack.remove_popped_values(result, self.nb_stacks, self.nb_digits)
ar_mask = (result != input).long()