UOJ Logo

NOI.AC

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#3703#36. 列队EdenHazard1003392ms40052kbC++954b2018-09-15 08:47:452018-09-15 16:22:23

answer


详细

小提示:点击横条可展开更详细的信息

Test #1:

score: 5
Accepted
time: 3ms
memory: 9692kb

input:

50 82 95
1949 3008 421 1198 3963 2505 221 3058 2385 436 1855 203 1921 2146 928 1261 3745 3133 98 333...

output:

1
0
0
0
1
0
0
0
0
0
3
0
0
0
0
0
0
4
0
1
0
4
0
5
0
5
0
3
3
0
0
2
0
0
0
0
2
0
0
7
4
0
3
2
0
2
2
0
0
0
...

result:

ok 95 numbers

Test #2:

score: 5
Accepted
time: 3ms
memory: 9716kb

input:

75 88 15
5994 2514 5499 1832 659 5341 4483 3008 3151 2186 4076 5253 691 5732 376 4431 2087 3488 3380...

output:

0
0
0
0
0
0
0
3
0
0
5
0
2
0
0

result:

ok 15 numbers

Test #3:

score: 5
Accepted
time: 15ms
memory: 9736kb

input:

91 92 96675
1702 4115 4306 7815 6482 4955 3749 1846 518 5984 733 4782 5001 1588 7146 4000 5126 4754 ...

output:

0
3
0
0
0
0
0
0
0
0
0
0
0
5
4
3
0
0
0
3
1
0
0
0
0
0
0
0
0
0
3
0
0
4
0
0
0
0
0
0
0
6
0
0
0
0
0
0
0
0
...

result:

ok 96675 numbers

Test #4:

score: 5
Accepted
time: 9ms
memory: 11812kb

input:

98 99 91311
6754 1259 3345 6383 6866 8227 1798 8796 6007 6350 3034 2952 6047 9609 8443 4084 315 2868...

output:

0
0
0
5
7
0
0
0
6
0
0
0
0
0
1
2
0
2
0
2
0
0
0
0
0
5
6
7
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
10
0
0
0
0
5...

result:

ok 91311 numbers

Test #5:

score: 5
Accepted
time: 19ms
memory: 11812kb

input:

100 100 100000
7296 2662 5202 1061 6348 3161 6486 7772 743 8395 4058 9922 2895 8074 4337 5597 8278 8...

output:

0
0
0
0
0
0
1
0
0
1
5
0
0
0
7
0
0
0
0
0
0
0
0
0
1
0
0
4
0
0
0
3
1
0
0
2
8
0
0
0
10
0
0
0
4
0
0
0
0
0...

result:

ok 100000 numbers

Test #6:

score: 5
Accepted
time: 24ms
memory: 20708kb

input:

372 334 324
18714 5530 109006 35437 82049 75248 99925 101328 52751 7850 69127 95135 42142 104300 803...

output:

0
0
0
0
0
7
0
0
0
21
0
0
0
0
0
0
0
0
0
0
0
0
6
0
0
0
0
0
0
0
0
0
0
6
12
8
1
0
0
0
0
0
4
0
0
0
1
0
0
...

result:

ok 324 numbers

Test #7:

score: 5
Accepted
time: 25ms
memory: 20712kb

input:

400 396 400
77970 132368 116953 21183 127432 55975 63774 114305 87586 134952 134736 14414 5388 89736...

output:

0
0
0
0
4
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
1
0
0
3
8
0
0
0
0
0
0
0
0
0
0
9
0
0
4
...

result:

ok 400 numbers

Test #8:

score: 5
Accepted
time: 15ms
memory: 16576kb

input:

215 282 384
58164 27858 43267 42627 47055 32777 2009 24969 56965 52426 38872 33816 38927 50123 17809...

output:

0
0
0
0
0
0
0
0
0
0
13
0
0
0
1
0
0
12
0
12
0
3
0
0
0
0
0
3
0
0
0
0
0
0
1
7
0
13
11
2
0
15
0
0
26
0
0...

result:

ok 384 numbers

Test #9:

score: 5
Accepted
time: 29ms
memory: 20700kb

input:

400 400 400
126269 89944 103245 146595 143476 143985 121858 50009 33422 31096 65239 50839 52341 9416...

output:

0
0
0
0
0
0
0
0
0
0
0
0
0
8
0
0
0
0
0
13
0
0
0
0
0
0
0
0
0
1
0
0
0
0
8
0
0
3
0
0
0
0
0
0
0
4
0
0
0
0...

result:

ok 400 numbers

Test #10:

score: 5
Accepted
time: 204ms
memory: 40052kb

input:

994 915 490584
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 3...

output:

1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
...

result:

ok 490584 numbers

Test #11:

score: 5
Accepted
time: 324ms
memory: 39152kb

input:

981 965 499266
310281 313783 385004 532112 209140 576999 588692 28942 213673 529012 508762 280269 91...

output:

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
4
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
2
0
0
0
0
...

result:

ok 499266 numbers

Test #12:

score: 5
Accepted
time: 306ms
memory: 37100kb

input:

968 935 494374
742783 456268 840262 336514 610908 892931 191919 318810 213219 26432 666572 36924 744...

output:

0
0
0
0
0
23
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
17
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
4
0
...

result:

ok 494374 numbers

Test #13:

score: 5
Accepted
time: 303ms
memory: 37104kb

input:

977 928 498256
415481 616400 473557 288778 442088 808292 719179 386569 33052 606183 349526 798282 50...

output:

0
0
0
0
0
5
0
0
0
0
0
0
7
0
0
0
0
0
0
0
0
0
0
3
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
20
0
0
0
0...

result:

ok 498256 numbers

Test #14:

score: 5
Accepted
time: 280ms
memory: 37108kb

input:

943 939 491912
227540 862470 704717 141470 427641 866962 575607 152350 467621 699066 566003 718429 3...

output:

0
5
0
0
0
0
0
0
0
9
0
0
0
0
0
0
23
0
16
0
0
0
0
0
0
0
0
0
17
1
0
0
0
0
0
27
0
20
0
0
4
0
0
0
0
0
0
0...

result:

ok 491912 numbers

Test #15:

score: 5
Accepted
time: 290ms
memory: 37104kb

input:

938 973 491229
773251 584476 464760 340661 407955 316198 141755 844993 856953 223408 310735 434015 8...

output:

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
3
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
...

result:

ok 491229 numbers

Test #16:

score: 5
Accepted
time: 316ms
memory: 39160kb

input:

1000 1000 500000
46445 614067 990390 573236 840641 986275 916908 301248 878557 87653 577547 655991 1...

output:

4
0
0
0
0
0
0
0
0
0
0
52
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
11
0
0
0
0
0
0
0
0
0
0
0
25
0
0
0
0...

result:

ok 500000 numbers

Test #17:

score: 5
Accepted
time: 299ms
memory: 39152kb

input:

1000 1000 500000
376536 66309 863132 518138 609729 143559 525662 599630 759723 801450 146930 919230 ...

output:

0
0
0
10
0
0
0
0
0
0
0
0
0
20
0
0
0
0
0
0
0
0
0
0
0
18
0
0
0
0
9
0
0
0
0
0
0
0
0
0
4
0
0
0
0
0
1
0
0...

result:

ok 500000 numbers

Test #18:

score: 5
Accepted
time: 298ms
memory: 39152kb

input:

1000 1000 500000
115766 739983 256875 69623 96411 931557 605593 572734 394530 54844 796323 197574 22...

output:

0
0
0
0
0
3
0
0
0
0
0
0
0
0
0
0
0
5
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
...

result:

ok 500000 numbers

Test #19:

score: 5
Accepted
time: 324ms
memory: 39148kb

input:

1000 999 499995
36317 868257 423757 986363 409973 172862 826035 278436 633916 454304 39808 74467 901...

output:

0
0
0
0
12
0
0
0
17
0
0
0
21
0
0
0
0
0
16
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
...

result:

ok 499995 numbers

Test #20:

score: 5
Accepted
time: 306ms
memory: 39148kb

input:

990 999 499999
368388 28769 893634 1403 938288 975359 889538 786699 18042 538580 29686 474085 163306...

output:

0
0
18
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...

result:

ok 499999 numbers

Extra Test:

score: 0
Extra Test Passed