UOJ Logo

NOI.AC

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#11738#42. queenaccedhy100102ms5972kbC++1.2kb2018-09-23 23:42:482018-09-23 23:42:49

answer


Details

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

Test #1:

score: 10
Accepted
time: 0ms
memory: 2568kb

input:

10 10
3 4
4 5
10 9
4 2
5 5
3 1
8 9
3 3
2 5
2 6

output:

0 2 3 3 1 1 0 0 0 

result:

ok single line: '0 2 3 3 1 1 0 0 0 '

Test #2:

score: 10
Accepted
time: 0ms
memory: 2600kb

input:

900 900
503 575
536 735
97 767
131 791
188 113
363 502
247 825
264 842
438 893
599 314
348 274
574 6...

output:

32 148 285 257 131 39 8 0 0 

result:

ok single line: '32 148 285 257 131 39 8 0 0 '

Test #3:

score: 10
Accepted
time: 0ms
memory: 2604kb

input:

1000 1000
23 676
835 868
253 639
489 773
106 384
628 585
863 502
789 471
964 251
967 630
5 75
750 16...

output:

37 151 320 288 141 47 16 0 0 

result:

ok single line: '37 151 320 288 141 47 16 0 0 '

Test #4:

score: 10
Accepted
time: 0ms
memory: 5200kb

input:

100000 500
78494 97550
83510 81587
95499 87612
84636 74826
75513 95815
67640 68373
83551 77889
69117...

output:

480 18 2 0 0 0 0 0 0 

result:

ok single line: '480 18 2 0 0 0 0 0 0 '

Test #5:

score: 10
Accepted
time: 0ms
memory: 5204kb

input:

100000 750
23890 2611
15946 9023
304 26283
3001 13845
18144 26822
1752 24381
8020 25573
28483 19123
...

output:

685 60 5 0 0 0 0 0 0 

result:

ok single line: '685 60 5 0 0 0 0 0 0 '

Test #6:

score: 10
Accepted
time: 0ms
memory: 5200kb

input:

100000 1000
8960 2686
12346 26683
25083 1374
1210 19895
7811 13373
2765 20979
28138 10479
1275 5254
...

output:

903 90 7 0 0 0 0 0 0 

result:

ok single line: '903 90 7 0 0 0 0 0 0 '

Test #7:

score: 10
Accepted
time: 27ms
memory: 5280kb

input:

70000 100000
67449 59032
56582 61809
65627 45023
54832 54881
63697 67627
49930 66219
42393 54328
458...

output:

6 183 2244 12291 23584 27568 20614 10710 2800 

result:

ok single line: '6 183 2244 12291 23584 27568 20614 10710 2800 '

Test #8:

score: 10
Accepted
time: 28ms
memory: 5512kb

input:

80000 100000
65069 68649
69222 78853
74951 60634
79644 61172
72125 79083
54777 60756
49785 62752
589...

output:

7 176 2218 12078 23794 27778 20650 10564 2735 

result:

ok single line: '7 176 2218 12078 23794 27778 20650 10564 2735 '

Test #9:

score: 10
Accepted
time: 25ms
memory: 5748kb

input:

90000 100000
67457 78587
80771 77113
75880 71265
79726 77572
67867 70275
63940 73566
73084 78097
671...

output:

4 165 2266 12172 23771 27754 20391 10657 2820 

result:

ok single line: '4 165 2266 12172 23771 27754 20391 10657 2820 '

Test #10:

score: 10
Accepted
time: 22ms
memory: 5972kb

input:

100000 100000
82685 88489
89768 75476
99150 99508
79240 92502
98469 76447
72619 88003
78215 79291
81...

output:

5 168 2295 12205 23609 27612 20628 10665 2813 

result:

ok single line: '5 168 2295 12205 23609 27612 20628 10665 2813 '