| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 86590 | 汤弘毅 | 22插入数据 | Python3 | Wrong Answer | 39 MS | 3772 KB | 205 | 2024-07-26 19:22:33 |
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] for i in s: print(i,end = ' ')
------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-----