Connection ErrorBad RequestThis page went staleSession ExpiredSign in requiredForbiddenNot FoundToo Many RequestsServer ErrorBad GatewayService UnavailableGateway TimeoutHTTP Version Not Supported
Session Expired
Your session has expired. Please log in to continue.
Sign in required
You need an account to do that. Sign in or create one — it only takes a minute.
This page went stale
Your security token was rejected, usually because the page sat open too long or you signed in elsewhere. Nothing was saved. Reload the page and try again.
Request Failed
We encountered an issue while processing your request.
Please check your internet connection and try again.
qsort is the fastest sorting method, but it's not the most accurate. Forgive me, I don't remember the exact code, but the idea is to divide the array into many small groups and sort the members of each group in ascending (or descending) order. Then, we sort the groups themselves. For an array containing 1,000,000,000 members, this will be much faster than a standard sort, but there's a possibility of errors with a large number of repeating groups. Your sorting approach is completely different. But your program, although I haven't tested it with specific examples yet, will most likely be slower than qsort. Basically, you have a standard sort (I apologize, I didn't understand it at first) with some new features. I was too quick to congratulate you; I apologize, but your solution is standard. Do you want me to post the qsort code?
учеба тяжела, и я здесь не всегда, обычно по выходным, бывает и в будни я с ним, ХВ ты не заменим))))
:cool: veni, vidi, vici - пришел, увидел, победил :cool: