You are viewing a single comment's thread. Return to all comments →
Too stiff check. In C++11 it allows the following set of changes:
06: int mid = (n - 1) / 2; 10: int ed = n - 2; 14: ed = ed - 1;
but does allow the following:
07: ; // dropped first swap 09: int st = mid - 1; 14: ed = ed - 1;
Though the resulting output is exactly the same.
Seems like cookies are disabled on this browser, please enable them to open this website
Zig Zag Sequence
You are viewing a single comment's thread. Return to all comments →
Too stiff check.
In C++11 it allows the following set of changes:
but does allow the following:
Though the resulting output is exactly the same.