用户输出
[[1, 3], [1, 2], [3], [1, 2], [1, 7], [3], [2, 2, 3], [3]]
[3]
[3, 2]
[3, 2]
[3, 2, 2]
[3, 2, 2, 7]
[3, 2, 2, 7]
2
[3, 2, 7]
[3,
<17 bytes omitted>
Special Judge 信息
Files user_out and answer differ
系统信息
Exited with return code 0
编号 | 题目 | 状态 | 分数 | 总时间 | 内存 | 代码 / 答案文件 | 提交者 | 提交时间 |
---|---|---|---|---|---|---|---|---|
#3838 | #1011. 小田的存钱罐 | Wrong Answer | 0 | 17790 ms | 42984 K | Python 3 / 652 B | s230034061 | 2023-11-25 16:59:37 |
N=int(input())
opp=[]
re=[]
fi=[]
for _ in range(N):
row=map(int,input().split())
rowlist=list(row)
opp.append(rowlist)
print(opp)
def mon(N):
for i in range(N):
count=0
if opp[i][0]==1:
re.append(opp[i][1])
print(re)
if opp[i][0]==2:
for j in re:
if j==opp[i][1]:
count+=1
m=min(opp[i][2],count)
print (m)
re.remove(opp[i][1])
print(re)
if opp[i][0]==3:
fi.append(max(re)-min(re))
print(re)
return fi
print(mon(N))
用户输出
[[1, 3], [1, 2], [3], [1, 2], [1, 7], [3], [2, 2, 3], [3]]
[3]
[3, 2]
[3, 2]
[3, 2, 2]
[3, 2, 2, 7]
[3, 2, 2, 7]
2
[3, 2, 7]
[3,
<17 bytes omitted>
Special Judge 信息
Files user_out and answer differ
系统信息
Exited with return code 0
用户输出
[[1, 10000], [1, 1000], [2, 100, 3], [1, 10]]
[10000]
[10000, 1000]
0
标准错误流
Traceback (most recent call last):
File "/sandbox/2/a.py", line 28, in <module>
print(mon(N))
File "/sandbox/2/a.py", line 22, in mon
re.remove(opp[i][1])
ValueError: list.remove(x): x not in list
Special Judge 信息
Files user_out and answer differ
系统信息
Exited with return code 1
200000
1 158260522
1 158260522
1 158260522
1 158260522
1 158260522
3
2 158260522 3
1 158260522
3
3
2
<1822667 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>
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>
用户输出
[[1, 504709350], [3], [1, 504709350], [3], [1, 669577130], [1, 565454584], [2, 669577130, 1], [2, 504709350, 1], [2, 504709350,
<9437546 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>
用户输出
[[1, 101102], [3], [1, 101102], [1, 806736280], [3], [3], [2, 101102, 1], [3], [1, 256060446], [3], [3], [1, 806736280], [1, 372
<42371997 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>
用户输出
[[1, 879601392], [1, 2208309], [1, 2208309], [1, 693906524], [2, 879601392, 1], [1, 693906524], [3], [1, 855648094], [1, 5626880
<46030961 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>
用户输出
[[1, 247639032], [1, 777329308], [3], [1, 498286185], [1, 498286185], [2, 247639032, 1], [3], [3], [1, 674916137], [3], [1, 9165
<31852210 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>
用户输出
[[1, 655487992], [3], [3], [3], [3], [3], [3], [1, 611660901], [3], [3], [1, 974018054], [3], [3], [3], [1, 911221319], [3], [1,
<35817441 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>
用户输出
[[1, 826143456], [3], [1, 628797840], [1, 983206966], [1, 791914334], [3], [3], [1, 440668866], [3], [3], [1, 214044032], [3], [
<33514879 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>
用户输出
[[1, 848837086], [3], [1, 178452624], [1, 916086662], [3], [3], [3], [3], [1, 96479006], [3], [3], [1, 411156951], [1, 531760231
<43156123 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>
用户输出
[[2, 293519400, 200000], [2, 914159648, 200000], [2, 115759974, 200000], [1, 980862633], [2, 897088345, 200000], [2, 976279749,
<3757143 bytes omitted>
标准错误流
Traceback (most recent call last):
File "/sandbox/2/a.py", line 28, in <module>
print(mon(N))
File "/sandbox/2/a.py", line 22, in mon
re.remove(opp[i][1])
ValueError: list.remove(x): x not in list
Special Judge 信息
Files user_out and answer differ
系统信息
Exited with return code 1
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>
用户输出
[[2, 197108808, 200000], [2, 938365703, 200000], [2, 421962281, 200000], [1, 69997378], [2, 981625223, 200000], [1, 861652096],
<3757530 bytes omitted>
标准错误流
Traceback (most recent call last):
File "/sandbox/2/a.py", line 28, in <module>
print(mon(N))
File "/sandbox/2/a.py", line 22, in mon
re.remove(opp[i][1])
ValueError: list.remove(x): x not in list
Special Judge 信息
Files user_out and answer differ
系统信息
Exited with return code 1
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>
用户输出
[[2, 241309635, 200000], [2, 687899457, 200000], [1, 950087837], [1, 236920052], [3], [1, 550166398], [1, 521326769], [1, 248735
<3763458 bytes omitted>
标准错误流
Traceback (most recent call last):
File "/sandbox/2/a.py", line 28, in <module>
print(mon(N))
File "/sandbox/2/a.py", line 22, in mon
re.remove(opp[i][1])
ValueError: list.remove(x): x not in list
Special Judge 信息
Files user_out and answer differ
系统信息
Exited with return code 1
200000
1 249046243
1 249046243
1 249046243
1 249046243
1 249046243
1 249046243
1 249046243
1 2490462
<2559893 bytes omitted>
用户输出
[[1, 249046243], [1, 249046243], [1, 249046243], [1, 249046243], [1, 249046243], [1, 249046243], [1, 249046243], [1, 249046243],
<10645339 bytes omitted>
200000
1 341006745
1 341006745
1 341006745
1 341006745
1 341006745
1 341006745
1 341006745
1 3410067
<2539893 bytes omitted>
用户输出
[[1, 341006745], [1, 341006745], [1, 341006745], [1, 341006745], [1, 341006745], [1, 341006745], [1, 341006745], [1, 341006745],
<44178610 bytes omitted>
200000
1 927123882
1 927123882
1 927123882
1 927123882
1 927123882
1 927123882
1 927123882
1 9271238
<2519893 bytes omitted>
用户输出
[[1, 927123882], [1, 927123882], [1, 927123882], [1, 927123882], [1, 927123882], [1, 927123882], [1, 927123882], [1, 927123882],
<12078295 bytes omitted>
200000
1 865468011
1 865468011
1 865468011
1 865468011
1 865468011
1 865468011
1 865468011
1 8654680
<2499893 bytes omitted>
用户输出
[[1, 865468011], [1, 865468011], [1, 865468011], [1, 865468011], [1, 865468011], [1, 865468011], [1, 865468011], [1, 865468011],
<41990830 bytes omitted>
200000
1 466019537
1 466019537
1 466019537
1 466019537
1 466019537
1 466019537
1 466019537
1 4660195
<2479893 bytes omitted>
用户输出
[[1, 466019537], [1, 466019537], [1, 466019537], [1, 466019537], [1, 466019537], [1, 466019537], [1, 466019537], [1, 466019537],
<42663754 bytes omitted>
200000
1 879738868
1 879738868
1 879738868
1 879738868
1 879738868
1 879738868
1 879738868
1 8797388
<2459893 bytes omitted>
用户输出
[[1, 879738868], [1, 879738868], [1, 879738868], [1, 879738868], [1, 879738868], [1, 879738868], [1, 879738868], [1, 879738868],
<58684089 bytes omitted>