QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#593440#9370. Gambling on Choosing RegionalsMaMengQiWA 865ms9720kbC++171.4kb2024-09-27 14:05:502024-09-27 14:05:50

详细

Test #1:

score: 100
Accepted
time: 0ms
memory: 3560kb

input:

5 3
1 2 3
100 THU
110 PKU
95 PKU
105 THU
115 PKU

output:

2
1
2
2
1

result:

ok 5 lines

Test #2:

score: 0
Accepted
time: 0ms
memory: 3552kb

input:

5 2
2 3
100 THU
110 PKU
95 PKU
105 THU
115 PKU

output:

4
2
4
3
1

result:

ok 5 lines

Test #3:

score: 0
Accepted
time: 865ms
memory: 9720kb

input:

100000 100000
57148 51001 13357 71125 98369 67226 49388 90852 66291 39573 38165 97007 15545 51437 89611 41523 27799 15529 16434 44291 47134 90227 26873 52252 41605 21269 9135 55784 70744 17563 79061 73981 70529 35681 91073 52031 23811 79501 1607 46365 76868 72137 71041 29217 96749 46417 40199 55907 ...

output:

1000
999
1000
1000
1000
1000
1000
1000
1000
869
1000
958
1000
1000
1000
1000
999
1000
1000
1000
1000
1000
1000
990
1000
1000
1000
631
1000
1000
1000
956
1000
1000
1000
1000
1000
1000
575
1000
1000
1000
1000
1000
1000
1000
1000
1000
1000
1000
1000
1000
1000
1000
1000
993
1000
1000
999
1000
995
1000
1...

result:

ok 100000 lines

Test #4:

score: -100
Wrong Answer
time: 94ms
memory: 9400kb

input:

100000 100000
67147 61000 23356 81124 108368 77225 59387 100851 76290 49572 48164 107006 25544 61436 99610 51522 37798 25528 26433 54290 57133 100226 36872 62251 51604 31268 19134 65783 80743 27562 89060 83980 80528 45680 101072 62030 33810 89500 11606 56364 86867 82136 81040 39216 106748 56416 5019...

output:

64065
92763
18737
97718
26814
12575
74317
80184
50154
47917
93717
87869
69233
60753
62986
97762
42753
83133
98718
92431
49654
63173
73488
31949
60564
82002
88510
98116
97336
25508
73607
74147
47853
98331
81173
78611
90374
10405
52804
97449
27953
86116
98626
76105
65581
92391
98503
34515
33914
98377
...

result:

wrong answer 1st lines differ - expected: '38094', found: '64065'