0
Why this code print correct result on sololearn and some other online compiler but on other online compiler not?
7 ответов
+ 1
Chances are if your code prints correctly on multiple compilers and fails on one, process of elimination points to the other compiler
0
Other online compiler probably has a bug
0
What about if my code has a bug somewhere?
0
Do you think my code is correct?
0
What is it supposed to do?
0
I try to rearrange the original elements of the string according to order of size in sorted array. So string elements must in such order like elements in sorted array. Here are important the indexes. Because you rearrange the string in such order that elements in string has the same indexes as sorted array.
0
I notice there is no output in sum_1: is that intended?