用户输出
[]
[3]
[3, 2]
[3, 2]
[3, 2, 2]
[3, 2, 2, 7]
[3, 2, 2, 7]
[3, 7]
1
5
4
Special Judge 信息
Files user_out and answer differ
系统信息
Exited with return code 0
编号 | 题目 | 状态 | 分数 | 总时间 | 内存 | 代码 / 答案文件 | 提交者 | 提交时间 |
---|---|---|---|---|---|---|---|---|
#3557 | #1011. 小田的存钱罐 | Wrong Answer | 0 | 18518 ms | 8868 K | Python 3 / 810 B | t330034045 | 2023-11-25 15:41:19 |
def func(list1):
list2=[]
for i in list1:
list2.append(int(i))
return list2
bank=[]
k=int(input())
list2=[]
for i in range(k):
print(bank)
list1=func(input().split(" "))
if list1[0]==1:
bank.append(list1[1])
if list1[0]==3:
list2.append(max(bank)-min(bank))
if list1[0]==2:
bank.sort(reverse=False)
m=bank.count(list1[1])
if m>int(list1[2]):
bank=bank[bank.index(list1[1]):bank.index(list1[1])+int(list1[1]):1]
if m<int(list1[2]) and m!=0:
bank2=bank[bank.index(list1[1]):bank.index(list1[1])+bank.count(list1[1]):1]
for i in bank2:
bank.remove(i)
if m==0:
continue
if len(list2)!=0:
for j in list2:
print(j)
用户输出
[]
[3]
[3, 2]
[3, 2]
[3, 2, 2]
[3, 2, 2, 7]
[3, 2, 2, 7]
[3, 7]
1
5
4
Special Judge 信息
Files user_out and answer differ
系统信息
Exited with return code 0
用户输出
[]
[10000]
[10000, 1000]
[1000, 10000]
Special Judge 信息
Files user_out and answer differ
系统信息
Exited with return code 0
200000
1 158260522
1 158260522
1 158260522
1 158260522
1 158260522
3
2 158260522 3
1 158260522
3
3
2
<1822667 bytes omitted>
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
<133130 bytes omitted>
用户输出
[]
[158260522]
[158260522, 158260522]
[158260522, 158260522, 158260522]
[158260522, 158260522, 158260522, 158260522]
[158260522,
<56313744 bytes omitted>
200000
1 404926844
3
3
1 943492766
3
1 404926844
3
1 404926844
1 943492766
2 404926844 2
2 404926844
<1711818 bytes omitted>
0
0
538565922
538565922
0
0
0
0
0
0
0
0
538565922
538565922
0
0
0
0
0
538565922
538565922
538565922
<522556 bytes omitted>
用户输出
[]
[404926844]
[404926844]
[404926844]
[404926844, 943492766]
[404926844, 943492766]
[404926844, 943492766, 404926844]
[40492684
<50641353 bytes omitted>
200000
1 504709350
3
1 504709350
3
1 669577130
1 565454584
2 669577130 1
2 504709350 1
2 504709350 1
<1687449 bytes omitted>
0
0
60745234
60745234
60745234
60745234
164867780
164867780
164867780
104122546
164867780
164867780
<690750 bytes omitted>
用户输出
[]
[504709350]
[504709350]
[504709350, 504709350]
[504709350, 504709350]
[504709350, 504709350, 669577130]
[504709350, 504709350
<76797984 bytes omitted>
200000
1 101102
3
1 101102
1 806736280
3
3
2 101102 1
3
1 256060446
3
3
1 806736280
1 372964315
2 25
<1644095 bytes omitted>
0
806635178
806635178
806635178
806635178
806635178
806635178
806635178
806635178
728074795
80663517
<800164 bytes omitted>
用户输出
[]
[101102]
[101102]
[101102, 101102]
[101102, 101102, 806736280]
[101102, 101102, 806736280]
[101102, 101102, 806736280]
[10110
<55049923 bytes omitted>
200000
1 879601392
1 2208309
1 2208309
1 693906524
2 879601392 1
1 693906524
3
1 855648094
1 5626880
<1655382 bytes omitted>
691698215
853439785
853439785
853439785
853439785
853439785
978284941
978284941
978284941
978284941
<800459 bytes omitted>
用户输出
[]
[879601392]
[879601392, 2208309]
[879601392, 2208309, 2208309]
[879601392, 2208309, 2208309, 693906524]
[2208309, 2208309, 69
<75060551 bytes omitted>
200000
1 247639032
1 777329308
3
1 498286185
1 498286185
2 247639032 1
3
3
1 674916137
3
1 916525278
<1680170 bytes omitted>
529690276
279043123
279043123
279043123
668886246
668886246
668886246
668886246
765842382
765842382
<799363 bytes omitted>
用户输出
[]
[247639032]
[247639032, 777329308]
[247639032, 777329308]
[247639032, 777329308, 498286185]
[247639032, 777329308, 498286185,
<61939584 bytes omitted>
200000
1 655487992
3
3
3
3
3
3
1 611660901
3
3
1 974018054
3
3
3
1 911221319
3
1 762558266
3
3
1 744
<1663388 bytes omitted>
0
0
0
0
0
0
43827091
43827091
362357153
362357153
362357153
362357153
362357153
362357153
362357153
<800770 bytes omitted>
用户输出
[]
[655487992]
[655487992]
[655487992]
[655487992]
[655487992]
[655487992]
[655487992]
[655487992, 611660901]
[655487992, 611660
<66129319 bytes omitted>
200000
1 826143456
3
1 628797840
1 983206966
1 791914334
3
3
1 440668866
3
3
1 214044032
3
3
3
3
3
3
<1666495 bytes omitted>
0
354409126
354409126
542538100
542538100
769162934
769162934
769162934
769162934
769162934
76916293
<799562 bytes omitted>
用户输出
[]
[826143456]
[826143456]
[826143456, 628797840]
[826143456, 628797840, 983206966]
[826143456, 628797840, 983206966, 791914334]
<54206567 bytes omitted>
200000
1 848837086
3
1 178452624
1 916086662
3
3
3
3
1 96479006
3
3
1 411156951
1 531760231
1 211336
<1450452 bytes omitted>
0
737634038
737634038
737634038
737634038
819607656
819607656
819607656
819607656
819607656
81960765
<956882 bytes omitted>
用户输出
[]
[848837086]
[848837086]
[848837086, 178452624]
[848837086, 178452624, 916086662]
[848837086, 178452624, 916086662]
[848837086
<89702960 bytes omitted>
200000
2 293519400 200000
2 914159648 200000
2 115759974 200000
1 980862633
2 897088345 200000
2 976
<2877507 bytes omitted>
644345063
644345063
971875820
971875820
971875820
971875820
976625137
976625137
976625137
976625137
<199130 bytes omitted>
用户输出
[]
[]
[]
[]
[980862633]
[980862633]
[980862633]
[980862633]
[980862633]
[980862633]
[980862633, 336517570]
[980862633, 336517570
<93197587 bytes omitted>
200000
2 197108808 200000
2 938365703 200000
2 421962281 200000
1 69997378
2 981625223 200000
1 8616
<2877806 bytes omitted>
791654718
791654718
791654718
893498516
949240756
949240756
949240756
949240756
959853107
977604071
<200470 bytes omitted>
用户输出
[]
[]
[]
[]
[69997378]
[69997378]
[69997378, 861652096]
[69997378, 861652096, 648468475]
[69997378, 648468475, 861652096]
[69997
<87523131 bytes omitted>
200000
2 241309635 200000
2 687899457 200000
1 950087837
1 236920052
3
1 550166398
1 521326769
1 248
<2883102 bytes omitted>
713167785
713167785
713167785
730494051
730494051
905234424
933105045
933105045
933105045
933105045
<199420 bytes omitted>
用户输出
[]
[]
[]
[950087837]
[950087837, 236920052]
[950087837, 236920052]
[950087837, 236920052, 550166398]
[950087837, 236920052, 5501
<101058065 bytes omitted>
200000
1 249046243
1 249046243
1 249046243
1 249046243
1 249046243
1 249046243
1 249046243
1 2490462
<2559893 bytes omitted>
200000
1 341006745
1 341006745
1 341006745
1 341006745
1 341006745
1 341006745
1 341006745
1 3410067
<2539893 bytes omitted>
用户输出
[]
[341006745]
[341006745, 341006745]
[341006745, 341006745, 341006745]
[341006745, 341006745, 341006745, 341006745]
[341006745,
<90864819 bytes omitted>
200000
1 927123882
1 927123882
1 927123882
1 927123882
1 927123882
1 927123882
1 927123882
1 9271238
<2519893 bytes omitted>
200000
1 865468011
1 865468011
1 865468011
1 865468011
1 865468011
1 865468011
1 865468011
1 8654680
<2499893 bytes omitted>
200000
1 466019537
1 466019537
1 466019537
1 466019537
1 466019537
1 466019537
1 466019537
1 4660195
<2479893 bytes omitted>
200000
1 879738868
1 879738868
1 879738868
1 879738868
1 879738868
1 879738868
1 879738868
1 8797388
<2459893 bytes omitted>
用户输出
[]
[879738868]
[879738868, 879738868]
[879738868, 879738868, 879738868]
[879738868, 879738868, 879738868, 879738868]
[879738868,
<83937862 bytes omitted>