Sign in
apache
/
stdcxx
/
25670be8e7a924e3644f97ed84bd5935038950f0
/
.
/
examples
/
manual
/
out
/
swap.out
blob: 13fc70b40d5189b89b9f6a98b53f361caf2e8f08 [
file
] [
log
] [
blame
]
For
the vector
:
6
7
8
9
10
1
2
3
4
5
Swaping
the first five elements
with
the
last
five gives
:
1
2
3
4
5
6
7
8
9
10
Swaping
the first
and
last
elements gives
:
10
2
3
4
5
6
7
8
9
1