initial import
[ICEs.git] / 201605 / ice.ii
CommitLineData
45516216 1template < typename I >
2inline
3void reverse(I a, I b)
4{
5 while (a != b) {
6 --b;
7 if (a == b)
8 break;
9 ++a;
10 }
11}
12int A[1000000];
13void dosch()
14{
15 reverse(A, A + 1000000);
16}