Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
67048 胡海峰老师 22插入数据 Python3 Wrong Answer 29 MS 3768 KB 160 2024-03-13 15:59:07

Tests(0/10):


Code:

n = int(input()) a = list(map(int,input().split())) m = int(input()) i =0 while a[i]>m: i+=1 a.insert(i,m) b =[str(x) for x in a] print(' '.join(b))


Run Info:

------Input------
25 566 561 556 551 546 541 536 531 526 521 516 511 506 501 496 491 486 481 476 471 466 461 456 456 210
------Answer-----
566 561 556 551 546 541 536 531 526 521 516 511 506 501 496 491 486 481 476 471 466 461 456 456 210
------Your output-----