☰
Debian Codegraph
@
2026.20260711-2
2026.20260527-1
/
/
texmf-dist
/
doc
/
latex
/
algorithm2e
/
algorithm2e_exfor.tex
☽
☼
texmf-dist/doc/latex/algorithm2e/algorithm2e_exfor.tex
code
plain
raw
1
\SetAlgoLined
2
\ForAll{elements of $S_1$}{
3
remove an element e from $S_1$\;
4
put e in the set $S_2$\;
5
}
6
\lFor{i=1 \emph{\KwTo}max}{mark i}\;
7
\ForEach{$e$ in the set}{
8
put $e$ in ${\cal E}$\;
9
mark $e$\;
10
}