Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
86581 汤弘毅 22插入数据 Python3 Wrong Answer 33 MS 3768 KB 191 2024-07-26 18:16:57

Tests(0/10):


Code:

n = int(input()) s = list(map(int,input().split())) a = int(input()) for i in range(n): if s[i] < a: s.insert(i,a) break s = [str(x) for x in s] print(' '.join(s))


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-----