UOJ Logo

NOI.AC

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#28776#62. colorht20021002099ms15996kbC++113.9kb2018-10-21 10:47:172018-10-21 12:32:24

answer


详细

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

Test #1:

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

input:

1000 1000
0 1 2 3 3 3 6 2 5 1 1 6 2 1 9 8 1 14 10 3 2 11 6 11 17 10 17 22 14 20 1 4 12 27 6 16 18 14...

output:

389 414 197
390 413 197
387 414 199
389 413 198
390 412 198
391 411 198
393 410 197
392 411 197
390 ...

result:

ok 1000 lines

Test #2:

score: 10
Accepted
time: 4ms
memory: 7432kb

input:

1000 1000
0 1 2 1 4 1 6 4 7 5 5 2 8 3 13 13 1 7 16 14 17 1 3 1 17 20 13 7 16 25 13 29 15 31 20 15 6 ...

output:

378 417 205
377 418 205
373 422 205
374 421 205
377 417 206
376 421 203
375 422 203
377 421 202
376 ...

result:

ok 1000 lines

Test #3:

score: 10
Accepted
time: 3ms
memory: 7432kb

input:

1000 1000
0 1 2 1 1 5 6 7 3 4 9 4 5 13 6 8 3 7 3 6 7 6 9 16 17 25 11 2 20 1 2 17 23 2 8 27 9 19 12 3...

output:

431 360 209
433 359 208
430 362 208
428 364 208
430 361 209
431 360 209
432 359 209
433 358 209
435 ...

result:

ok 1000 lines

Test #4:

score: 10
Accepted
time: 293ms
memory: 15996kb

input:

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

output:

36530 39367 24103
36216 39681 24103
36042 39821 24137
35540 40241 24219
35980 40212 23808
36889 3755...

result:

ok 100000 lines

Test #5:

score: 10
Accepted
time: 199ms
memory: 15660kb

input:

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

output:

50037 49865 98
50036 49866 98
50035 49867 98
50036 49866 98
50037 49865 98
50038 49864 98
50037 4986...

result:

ok 100000 lines

Test #6:

score: 10
Accepted
time: 315ms
memory: 15808kb

input:

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

output:

35712 35259 29029
35713 35258 29029
35712 35259 29029
35713 35258 29029
35711 35259 29030
35710 3526...

result:

ok 100000 lines

Test #7:

score: 10
Accepted
time: 331ms
memory: 15928kb

input:

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

output:

35599 35544 28857
35601 35542 28857
35600 35543 28857
35602 35541 28857
35603 35539 28858
35602 3554...

result:

ok 100000 lines

Test #8:

score: 10
Accepted
time: 308ms
memory: 15956kb

input:

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

output:

35530 35507 28963
35531 35506 28963
35532 35505 28963
35534 35502 28964
35535 35500 28965
35538 3549...

result:

ok 100000 lines

Test #9:

score: 10
Accepted
time: 337ms
memory: 15824kb

input:

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

output:

35475 35504 29021
35473 35506 29021
35472 35507 29021
35471 35508 29021
35470 35509 29021
35469 3551...

result:

ok 100000 lines

Test #10:

score: 10
Accepted
time: 309ms
memory: 15808kb

input:

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

output:

35514 35489 28997
35515 35488 28997
35514 35489 28997
35513 35490 28997
35515 35488 28997
35514 3548...

result:

ok 100000 lines