Data update
This commit is contained in:
parent
29a5eea0d4
commit
5c1bb7bfa9
2011 changed files with 35081 additions and 3229 deletions
11
Task/Stack/PascalABC.NET/stack.pas
Normal file
11
Task/Stack/PascalABC.NET/stack.pas
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
begin
|
||||
var st := new Stack<integer>;
|
||||
var st1 := new Stack<integer>;
|
||||
st.Push(1);
|
||||
st.Push(2);
|
||||
st.Push(3);
|
||||
Println(st1,st);
|
||||
while st.Count <> 0 do
|
||||
st1.Push(st.Pop);
|
||||
Println(st1,st);
|
||||
end.
|
||||
Loading…
Add table
Add a link
Reference in a new issue