My list :
list= C,3 -->C,5,---> A,7 --> A,5 --> G,2--> C,11 -->A,4
my outuput :
output= C,5 C,11 G,2 A,7 A,4 A,5 C,3
but there is some mistakes. I write my code like in answers and I write charcmp function and replace with strcmp with charcmp. It works sometime corrcectly. But usually first element is in the wrong place .My sorting code likes answer's code
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…