void Reverse(int cry[],int begin,int end) { while(begin<end) { cry[begin]= cry[begin]^cry[end]; cry[end]=cry[begin]^cry[end]; cry[begin]=cry[begin]^cry[end]; begin++; end--; } }