Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- i = 1; //1
- k = n; //1
- while (i <= k) { //N+1
- while (i <= k && A[i] < 0) { //i+2
- i = i + 1; //2i
- }
- while (i <= k && A[i] >= 0) { //i+2
- k = k - 1; //2i
- }
- printf("..."); //1
- i = i + 1; //1
- k = k - 1; //1
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement