UOJ Logo

NOI.AC

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#110413#1676. 木头移动Baiyang072830261ms250696kbC++446b2020-06-25 13:19:372020-06-25 13:19:37

answer


Details

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

Test #1:

score: 10
Accepted
time: 213ms
memory: 250696kb

input:

10000 9999
2 1
3 2
4 3
5 4
6 5
7 6
8 7
9 8
10 9
11 10
12 11
13 12
14 13
15 14
16 15
17 16
18 17
19 1...

output:





































































































...

result:

ok 10000 lines

Test #2:

score: 0
Runtime Error

input:

7359 8362
786 6686
7049 6160
757 1593
5159 2949
4173 3079
1307 7121
7163 1941
5646 845
1303 6743
536...

output:


result:


Test #3:

score: 0
Runtime Error

input:

3312 3719
2125 2229
1435 2127
673 1459
250 2261
203 32
2008 190
882 3037
3091 2459
379 1633
7 2248
1...

output:


result:


Test #4:

score: 0
Runtime Error

input:

6807 7111
946 3123
2023 3647
5238 6141
4757 3377
5519 3103
2255 6548
2202 1949
6477 4884
3870 2448
5...

output:


result:


Test #5:

score: 0
Runtime Error

input:

695 9671
564 502
34 349
17 252
546 281
348 100
95 153
381 324
594 504
375 644
363 540
291 114
161 52...

output:


result:


Test #6:

score: 0
Runtime Error

input:

531 8590
144 116
65 453
280 409
391 199
341 17
503 466
408 146
456 390
84 498
97 78
52 90
129 73
86 ...

output:


result:


Test #7:

score: 0
Runtime Error

input:

7875 6318
6726 7459
2306 6982
7697 377
4142 6577
7132 2029
7301 6079
3690 2039
4905 1237
4687 5997
2...

output:


result:


Test #8:

score: 10
Accepted
time: 17ms
memory: 24984kb

input:

9262 4012
2393 5512
4723 2636
6235 3312
7192 2303
2798 7625
6942 7639
138 4397
4173 3502
1636 698
28...

output:


2 
3 2745 

5 8862 
6 
7 
2903 
9 

11 
12 
13 4592 
14 5784 

16 
17 
18 6815 

20 

22 
23 
24 88...

result:

ok 9262 lines

Test #9:

score: 0
Runtime Error

input:

5682 7560
762 381
2992 3275
3080 1632
5552 2423
2068 3035
3811 346
4163 5443
5661 5629
5162 240
4919...

output:


result:


Test #10:

score: 10
Accepted
time: 31ms
memory: 24972kb

input:

9004 2336
6087 6585
4941 6317
5018 5647
118 5385
1680 2214
8080 4156
2807 2092
432 84
8181 8563
5783...

output:

1 

3 4842 

5 4769 
6 
7 
8 
9 5652 
10 
11 690 
12 
13 6442 7715 
14 
15 
16 

18 6402 7777 
19 
2...

result:

ok 9004 lines