QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#35616 | #3816. Home alone: Johnny lost in New York | ZhaoZiLong | AC ✓ | 16ms | 17708kb | C++14 | 4.0kb | 2022-06-17 11:59:06 | 2022-06-17 11:59:08 |
Due to the privacy settings of the submitter, you are not allowed to view this code.
Details
Tip: Click on the bar to expand more detailed information
Test #1:
score: 100
Accepted
time: 0ms
memory: 5596kb
input:
4 4 1 1 1 4
output:
PPPDDDLGGLLDPDL
result:
ok correct path
Test #2:
score: 0
Accepted
time: 2ms
memory: 3572kb
input:
4 4 3 2 2 3
output:
NIE
result:
ok no solution
Test #3:
score: 0
Accepted
time: 4ms
memory: 3576kb
input:
5 5 1 2 1 4
output:
NIE
result:
ok no solution
Test #4:
score: 0
Accepted
time: 2ms
memory: 9792kb
input:
6 6 1 1 1 4
output:
DPGPPPPDLLLDDDPPGLGPPDDDLLLLLGPGGLD
result:
ok correct path
Test #5:
score: 0
Accepted
time: 0ms
memory: 5620kb
input:
4 5 2 3 3 5
output:
GGLDDDDPGPGGGPDDDDL
result:
ok correct path
Test #6:
score: 0
Accepted
time: 0ms
memory: 7676kb
input:
4 6 1 2 2 5
output:
NIE
result:
ok no solution
Test #7:
score: 0
Accepted
time: 0ms
memory: 9828kb
input:
6 6 1 5 4 5
output:
DPGGLGGGPPPPPDLLLLDPDDDPPPGLGPGLLDD
result:
ok correct path
Test #8:
score: 0
Accepted
time: 0ms
memory: 7776kb
input:
38 6 33 5 36 5
output:
DPGGLLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGGGGPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPDLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLDPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPDDDPPPGLGPGLLDD
result:
ok correct path
Test #9:
score: 0
Accepted
time: 2ms
memory: 7724kb
input:
57 6 26 3 29 5
output:
LLLLLLLLLLLLLLLLLLLLLLLLGPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPGLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLDDDDDPGGPDDPGGPDDPGGPDDPGGPDDPGGPDDPGGPDDPGGPDDPGGPDDPGGPDDPGGPDDPGGPDDPGGPDDPGGPGPDDLDPPPPPPGLLLGPPPPDDPGGPDDPGGPDDPGGPDDPGGPDDPGGPDDPGGPDDPGGPDDPGGPDDPGGPDDPGGPD...
result:
ok correct path
Test #10:
score: 0
Accepted
time: 3ms
memory: 9716kb
input:
64 126 45 13 48 15
output:
LLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLGPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPGLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLGPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPGLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLGPPPP...
result:
ok correct path
Test #11:
score: 0
Accepted
time: 1ms
memory: 9852kb
input:
64 32 35 13 48 15
output:
LLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLGPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPGLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLGPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPGLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLGPPPPPPPPPPPPPP...
result:
ok correct path
Test #12:
score: 0
Accepted
time: 4ms
memory: 9692kb
input:
7 6 2 6 6 3
output:
LGGGGGPPPPPPDLLLLLDDDPDPPPPGLLLGLGPPDPPGL
result:
ok correct path
Test #13:
score: 0
Accepted
time: 3ms
memory: 7720kb
input:
7 6 7 3 2 5
output:
LLLLDDPGPDPGPDDLLLLLLGGGGGPPPPPPDLLLLLDDD
result:
ok correct path
Test #14:
score: 0
Accepted
time: 3ms
memory: 9856kb
input:
7 6 6 3 2 4
output:
PDLLGLLDPDPPPDLLLLGLDLGGGGGPPPPPPDLLLLLDD
result:
ok correct path
Test #15:
score: 0
Accepted
time: 3ms
memory: 9824kb
input:
7 6 5 1 1 4
output:
LLLLDPPPPPGPDDLLLLDDPGPDPGPDDLLLLLLGPGGLD
result:
ok correct path
Test #16:
score: 0
Accepted
time: 5ms
memory: 14784kb
input:
880 584 174 341 325 562
output:
NIE
result:
ok no solution
Test #17:
score: 0
Accepted
time: 0ms
memory: 17220kb
input:
967 756 949 395 377 19
output:
NIE
result:
ok no solution
Test #18:
score: 0
Accepted
time: 0ms
memory: 14400kb
input:
712 45 178 32 483 32
output:
DDDLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLDPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPP...
result:
ok correct path
Test #19:
score: 0
Accepted
time: 0ms
memory: 9820kb
input:
7 8 5 1 1 8
output:
LLLLDPPPPPGPDDDLGLLLLLDPPPPDDDPGGPDDDLLLLGPGGLDLGLDDPDL
result:
ok correct path
Test #20:
score: 0
Accepted
time: 0ms
memory: 7636kb
input:
8 9 3 1 1 8
output:
LLDPPPGPPPPDLLLDLLLLDPPPPPGPPDLDPDLLGLDDPDPGPDDLLLGLDLGGPGGLDLGLDDPDDLG
result:
ok correct path
Test #21:
score: 0
Accepted
time: 2ms
memory: 14648kb
input:
201 612 48 527 187 381
output:
LDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPP...
result:
ok correct path
Test #22:
score: 0
Accepted
time: 4ms
memory: 15208kb
input:
267 772 169 633 3 764
output:
LLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLGPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPP...
result:
ok correct path
Test #23:
score: 0
Accepted
time: 5ms
memory: 14052kb
input:
601 125 583 3 124 124
output:
LLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLL...
result:
ok correct path
Test #24:
score: 0
Accepted
time: 5ms
memory: 13988kb
input:
683 73 399 68 138 11
output:
NIE
result:
ok no solution
Test #25:
score: 0
Accepted
time: 4ms
memory: 14156kb
input:
624 43 603 9 15 31
output:
NIE
result:
ok no solution
Test #26:
score: 0
Accepted
time: 2ms
memory: 11928kb
input:
306 48 225 8 199 30
output:
NIE
result:
ok no solution
Test #27:
score: 0
Accepted
time: 2ms
memory: 13772kb
input:
505 121 408 87 80 115
output:
NIE
result:
ok no solution
Test #28:
score: 0
Accepted
time: 5ms
memory: 16052kb
input:
561 984 276 114 60 403
output:
LLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLGGGGGGGGGGGGGGGGGGGGGGGGG...
result:
ok correct path
Test #29:
score: 0
Accepted
time: 6ms
memory: 15452kb
input:
674 732 486 255 180 24
output:
LDPPGPDDPGGPDDPGGPDDPGGPDDPGGPDDPGGPDDPGGPDDPGGPDDPGGPDDPGGPDDPGGPDDPGGPDDPGGPDDPGGPDDPGGPDDPGGPDDPGGPDDPGGPDDPGGPDDPGGPDDPGGPDDPGGPDDPGGPDDPGGPDDPGGPDDPGGPDDPGGPDDPGGPDDPGGPDDPGGPDDPGGPDDPGGPDDPGGPDDPGGPDDPGGPDDPGGPDDPGGPDDPGGPDDPGGPDDPGGPDDPGGPDDPGGPDDPGGPDDPGGPDDPGGPDDPGGPDDPGGPDDPGGPDDPGGPDDPGGP...
result:
ok correct path
Test #30:
score: 0
Accepted
time: 8ms
memory: 15088kb
input:
136 961 7 45 106 317
output:
LLLLLGPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPGLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLGPPPPPPPPPPPPPPPPPPPPPPPP...
result:
ok correct path
Test #31:
score: 0
Accepted
time: 5ms
memory: 14164kb
input:
848 52 839 17 639 30
output:
LLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLL...
result:
ok correct path
Test #32:
score: 0
Accepted
time: 4ms
memory: 11840kb
input:
10 249 1 201 1 113
output:
NIE
result:
ok no solution
Test #33:
score: 0
Accepted
time: 2ms
memory: 14596kb
input:
568 561 300 150 522 296
output:
NIE
result:
ok no solution
Test #34:
score: 0
Accepted
time: 0ms
memory: 9988kb
input:
118 145 79 40 5 49
output:
LLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPDLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLL...
result:
ok correct path
Test #35:
score: 0
Accepted
time: 10ms
memory: 15464kb
input:
365 970 359 157 151 266
output:
LLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLL...
result:
ok correct path
Test #36:
score: 0
Accepted
time: 5ms
memory: 13852kb
input:
142 455 68 376 95 287
output:
NIE
result:
ok no solution
Test #37:
score: 0
Accepted
time: 0ms
memory: 14800kb
input:
10 687 2 298 2 86
output:
NIE
result:
ok no solution
Test #38:
score: 0
Accepted
time: 2ms
memory: 14208kb
input:
245 653 227 229 135 478
output:
NIE
result:
ok no solution
Test #39:
score: 0
Accepted
time: 2ms
memory: 15464kb
input:
358 807 122 766 231 236
output:
DDDLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLDPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPP...
result:
ok correct path
Test #40:
score: 0
Accepted
time: 10ms
memory: 14712kb
input:
509 575 165 337 197 9
output:
PDLDDLGGGLDDDLGGGLDDDLGGGLDDDLGGGLDDDLGGGLDDDLGGGLDDDLGGGLDDDLGGGLDDDLGGGLDDDLGGGLDDDLGGGLDDDLGGGLDDDLGGGLDDDLGGGLDDDLGGGLDDDLGGGLDDDLGGGLDDDLGGGLDDDLGGGLDDDLGGGLDDDLGGGLDDDLGGGLDDDLGGGLDDDLGGGLDDDLGGGLDDDLGGGLDDDLGGGLDDDLGGGLDDDLGGGLDDDLGGGLDDDLGGGLDDDLGGGLDDDLGGGLDDDLGGGLDDDLGGGLDDDLGGGLDDDLGGGLDD...
result:
ok correct path
Test #41:
score: 0
Accepted
time: 2ms
memory: 13920kb
input:
858 97 132 7 211 12
output:
NIE
result:
ok no solution
Test #42:
score: 0
Accepted
time: 2ms
memory: 13912kb
input:
534 418 262 390 80 322
output:
NIE
result:
ok no solution
Test #43:
score: 0
Accepted
time: 2ms
memory: 14700kb
input:
546 834 393 126 326 451
output:
NIE
result:
ok no solution
Test #44:
score: 0
Accepted
time: 5ms
memory: 13976kb
input:
63 455 18 198 1 53
output:
DDDLLLLLLLLLLLLLLLLDPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPDLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLDPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPDLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLDPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPP...
result:
ok correct path
Test #45:
score: 0
Accepted
time: 4ms
memory: 9840kb
input:
48 99 2 17 45 81
output:
GPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPGLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLGPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPGLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLGPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPGLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLGPPPPPPPPPPPPPPPPP...
result:
ok correct path
Test #46:
score: 0
Accepted
time: 0ms
memory: 9756kb
input:
87 94 31 62 6 10
output:
GPDDLLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPGLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLGP...
result:
ok correct path
Test #47:
score: 0
Accepted
time: 4ms
memory: 15500kb
input:
919 743 39 559 195 734
output:
NIE
result:
ok no solution
Test #48:
score: 0
Accepted
time: 5ms
memory: 14676kb
input:
802 44 372 6 303 43
output:
NIE
result:
ok no solution
Test #49:
score: 0
Accepted
time: 7ms
memory: 14576kb
input:
993 325 356 174 100 65
output:
NIE
result:
ok no solution
Test #50:
score: 0
Accepted
time: 4ms
memory: 16676kb
input:
999 937 570 40 820 415
output:
NIE
result:
ok no solution
Test #51:
score: 0
Accepted
time: 1ms
memory: 13872kb
input:
510 116 143 41 424 12
output:
NIE
result:
ok no solution
Test #52:
score: 0
Accepted
time: 0ms
memory: 12196kb
input:
271 388 205 336 240 195
output:
NIE
result:
ok no solution
Test #53:
score: 0
Accepted
time: 2ms
memory: 14476kb
input:
567 555 556 528 328 211
output:
NIE
result:
ok no solution
Test #54:
score: 0
Accepted
time: 5ms
memory: 17232kb
input:
572 939 227 830 245 45
output:
GPDDLDLGGGLDDDLGGGLDDDLGGGLDDDLGGGLDDDLGGGLDDDLGGGLDDDLGGGLDDDLGGGLDDDLGGGLDDDLGGGLDDDLGGGLDDDLGGGLDDDLGGGLDDDLGGGLDDDLGGGLDDDLGGGLDDDLGGGLDDDLGGGLDDDLGGGLDDDLGGGLDDDLGGGLDDDLGGGLDDDLGGGLDDDLGGGLDDDLGGGLDDDLGGGLDDDLGGGLDDDLGGGLDDDLGGGLDDDLGGGLDDDLGGGLDDDLGGGLDDDLGGGLDDDLGGGLDDDLGGGLDDDLGGGLDDDLGGGLD...
result:
ok correct path
Test #55:
score: 0
Accepted
time: 0ms
memory: 11744kb
input:
157 269 53 16 56 144
output:
NIE
result:
ok no solution
Test #56:
score: 0
Accepted
time: 2ms
memory: 14616kb
input:
263 766 107 356 238 389
output:
NIE
result:
ok no solution
Test #57:
score: 0
Accepted
time: 2ms
memory: 13884kb
input:
154 507 52 12 52 59
output:
LLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLGGGGGGGGGGGPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPDLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLL...
result:
ok correct path
Test #58:
score: 0
Accepted
time: 2ms
memory: 14384kb
input:
200 626 191 337 47 262
output:
PPPDLLDPPPGGPDDPGGPDDPGGPDDDLLLLLLLLLGGLGLDDPDLLLGPGGLDLGLDDPDLLLGPGGLDLGLDDPDLLLGPGGLDLGLDDPDLLLGPGGLDLGLDDPDLLLGPGGLDLGLDDPDLLLGPGGLDLGLDDPDLLLGPGGLDLGLDDPDLLLGPGGLDLGLDDPDLLLGPGGLDLGLDDPDLLLGPGGLDLGLDDPDLLLGPGGLDLGLDDPDLLLGPGGLDLGLDDPDLLLGPGGLDLGLDDPDLLLGPGGLDLGLDDPDLLLGPGGLDLGLDDPDLLLGPGGLDLGLDD...
result:
ok correct path
Test #59:
score: 0
Accepted
time: 2ms
memory: 15528kb
input:
738 613 114 396 538 66
output:
NIE
result:
ok no solution
Test #60:
score: 0
Accepted
time: 5ms
memory: 11824kb
input:
276 290 265 119 69 262
output:
LLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLGPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPP...
result:
ok correct path
Test #61:
score: 0
Accepted
time: 4ms
memory: 13880kb
input:
355 272 336 215 14 71
output:
NIE
result:
ok no solution
Test #62:
score: 0
Accepted
time: 5ms
memory: 12424kb
input:
347 191 233 64 100 7
output:
NIE
result:
ok no solution
Test #63:
score: 0
Accepted
time: 2ms
memory: 13936kb
input:
39 154 18 24 13 147
output:
NIE
result:
ok no solution
Test #64:
score: 0
Accepted
time: 2ms
memory: 15352kb
input:
574 339 137 190 25 199
output:
LLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGG...
result:
ok correct path
Test #65:
score: 0
Accepted
time: 0ms
memory: 13920kb
input:
559 250 184 43 542 191
output:
NIE
result:
ok no solution
Test #66:
score: 0
Accepted
time: 5ms
memory: 15660kb
input:
783 628 109 143 679 213
output:
NIE
result:
ok no solution
Test #67:
score: 0
Accepted
time: 5ms
memory: 14032kb
input:
43 533 8 481 8 434
output:
NIE
result:
ok no solution
Test #68:
score: 0
Accepted
time: 3ms
memory: 15572kb
input:
32 743 6 505 20 11
output:
NIE
result:
ok no solution
Test #69:
score: 0
Accepted
time: 4ms
memory: 16628kb
input:
833 858 769 606 774 440
output:
GPDDLLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDL...
result:
ok correct path
Test #70:
score: 0
Accepted
time: 0ms
memory: 15188kb
input:
888 12 695 11 76 1
output:
PPGLLGPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPDDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLG...
result:
ok correct path
Test #71:
score: 0
Accepted
time: 4ms
memory: 14268kb
input:
593 412 501 306 414 22
output:
GPDDLLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDL...
result:
ok correct path
Test #72:
score: 0
Accepted
time: 1ms
memory: 13852kb
input:
491 126 163 28 302 24
output:
GPDDLLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDL...
result:
ok correct path
Test #73:
score: 0
Accepted
time: 4ms
memory: 11936kb
input:
128 440 100 195 18 199
output:
NIE
result:
ok no solution
Test #74:
score: 0
Accepted
time: 4ms
memory: 11872kb
input:
548 412 498 267 127 214
output:
NIE
result:
ok no solution
Test #75:
score: 0
Accepted
time: 0ms
memory: 13924kb
input:
228 695 38 68 104 292
output:
NIE
result:
ok no solution
Test #76:
score: 0
Accepted
time: 2ms
memory: 9972kb
input:
590 20 329 13 188 10
output:
NIE
result:
ok no solution
Test #77:
score: 0
Accepted
time: 9ms
memory: 15936kb
input:
376 676 209 567 83 578
output:
LLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLGPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPP...
result:
ok correct path
Test #78:
score: 0
Accepted
time: 0ms
memory: 15800kb
input:
219 681 208 243 85 54
output:
NIE
result:
ok no solution
Test #79:
score: 0
Accepted
time: 1ms
memory: 14856kb
input:
549 498 339 110 121 63
output:
PPPDLLLDPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPGGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGL...
result:
ok correct path
Test #80:
score: 0
Accepted
time: 4ms
memory: 11848kb
input:
401 202 31 22 290 67
output:
NIE
result:
ok no solution
Test #81:
score: 0
Accepted
time: 0ms
memory: 11812kb
input:
156 299 101 60 107 63
output:
LLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPP...
result:
ok correct path
Test #82:
score: 0
Accepted
time: 3ms
memory: 15148kb
input:
948 160 945 79 459 76
output:
PPPDLLLDPPPDLLLLLGPGGLDLGLDDPDLLLGPGGLDLGLDDPDLLLGPGGLDLGLDDPDLLLGPGGLDLGLDDPDLLLGPGGLDLGLDDPDLLLGPGGLDLGLDDPDLLLGPGGLDLGLDDPDLLLGPGGLDLGLDDPDLLLGPGGLDLGLDDPDLLLGPGGLDLGLDDPDLLLGPGGLDLGLDDPDLLLGPGGLDLGLDDPDLLLGPGGLDLGLDDPDLLLGPGGLDLGLDDPDLLLGPGGLDLGLDDPDLLLGPGGLDLGLDDPDLLLGPGGLDLGLDDPDLLLGPGGLDLGLDD...
result:
ok correct path
Test #83:
score: 0
Accepted
time: 10ms
memory: 15764kb
input:
488 808 359 119 336 401
output:
LLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLL...
result:
ok correct path
Test #84:
score: 0
Accepted
time: 2ms
memory: 14592kb
input:
144 811 4 115 141 21
output:
LDDDLGGGLDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDD...
result:
ok correct path
Test #85:
score: 0
Accepted
time: 2ms
memory: 14196kb
input:
727 324 531 92 213 247
output:
LLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLL...
result:
ok correct path
Test #86:
score: 0
Accepted
time: 2ms
memory: 17360kb
input:
983 971 236 693 22 930
output:
NIE
result:
ok no solution
Test #87:
score: 0
Accepted
time: 6ms
memory: 15208kb
input:
185 640 161 536 104 308
output:
GPDDLLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDL...
result:
ok correct path
Test #88:
score: 0
Accepted
time: 1ms
memory: 11880kb
input:
36 273 34 147 30 119
output:
NIE
result:
ok no solution
Test #89:
score: 0
Accepted
time: 4ms
memory: 12152kb
input:
122 381 86 318 22 326
output:
NIE
result:
ok no solution
Test #90:
score: 0
Accepted
time: 2ms
memory: 10244kb
input:
131 243 2 41 80 54
output:
NIE
result:
ok no solution
Test #91:
score: 0
Accepted
time: 2ms
memory: 15324kb
input:
32 664 15 435 19 197
output:
NIE
result:
ok no solution
Test #92:
score: 0
Accepted
time: 2ms
memory: 15624kb
input:
558 704 47 579 104 703
output:
LLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLGPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPP...
result:
ok correct path
Test #93:
score: 0
Accepted
time: 2ms
memory: 16068kb
input:
182 794 160 183 157 379
output:
LLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLGPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPP...
result:
ok correct path
Test #94:
score: 0
Accepted
time: 5ms
memory: 16464kb
input:
926 916 918 318 917 686
output:
LLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLL...
result:
ok correct path
Test #95:
score: 0
Accepted
time: 4ms
memory: 14044kb
input:
434 360 351 120 5 185
output:
LLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLL...
result:
ok correct path
Test #96:
score: 0
Accepted
time: 2ms
memory: 14232kb
input:
292 480 193 30 268 293
output:
NIE
result:
ok no solution
Test #97:
score: 0
Accepted
time: 0ms
memory: 15284kb
input:
619 528 152 354 35 164
output:
DDLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLDPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPP...
result:
ok correct path
Test #98:
score: 0
Accepted
time: 2ms
memory: 14952kb
input:
348 594 178 239 61 514
output:
NIE
result:
ok no solution
Test #99:
score: 0
Accepted
time: 6ms
memory: 11944kb
input:
263 95 155 87 209 28
output:
NIE
result:
ok no solution
Test #100:
score: 0
Accepted
time: 4ms
memory: 10288kb
input:
296 120 140 89 260 52
output:
LDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGG...
result:
ok correct path
Test #101:
score: 0
Accepted
time: 2ms
memory: 14300kb
input:
690 593 138 190 637 579
output:
NIE
result:
ok no solution
Test #102:
score: 0
Accepted
time: 2ms
memory: 14412kb
input:
802 49 132 23 449 5
output:
LDDDLGGGLDDDLGGGLDDDLGGGLDDDLGGGLDDDLGGGLDDDLGGGLDDDLGGGLDDDLGGGLDDDLGGGLDDDLGGGLDDDLGGGLDDDLGGGLDDDLGGGLDDDLGGGLDDDLGGGLDDDLGGGLDDDLGGGLDDDLGGGLDDDLGGGLDDDLGGGLDDDLGGGLDDDLGGGLDDDLGGGLDDDLGGGLDDDLGGGLDDDLGGGLDDDLGGGLDDDLGGGLDDDLGGGLDDDLGGGLDDDLGGGLDDDLGGGLDDDLGGGLDDDLGGGLDDDLGGGLDDDLGGGLDDDLGGGLDDD...
result:
ok correct path
Test #103:
score: 0
Accepted
time: 4ms
memory: 14804kb
input:
788 47 175 4 621 3
output:
GPDDLDLGGGLDDDLGGGLDDDLGGGLDDDLGGGLDDDLGGGLDDDLGGGLDDDLGGGLDDDLGGGLDDDLGGGLDDDLGGGLDDDLGGGLDDDLGGGLDDDLGGGLDDDLGGGLDDDLGGGLDDDLGGGLDDDLGGGLDDDLGGGLDDDLGGGLDDDLGGGLDDDLGGGLDDDLGGGLDDDLGGGLDDDLGGGLDDDLGGGLDDDLGGGLDDDLGGGLDDDLGGGLDDDLGGGLDDDLGGGLDDDLGGGLDDDLGGGLDDDLGGGLDDDLGGGLDDDLGGGLDDDLGGGLDDDLGGGLD...
result:
ok correct path
Test #104:
score: 0
Accepted
time: 2ms
memory: 16084kb
input:
154 994 89 933 128 540
output:
NIE
result:
ok no solution
Test #105:
score: 0
Accepted
time: 5ms
memory: 14120kb
input:
898 768 653 515 829 651
output:
NIE
result:
ok no solution
Test #106:
score: 0
Accepted
time: 2ms
memory: 13076kb
input:
445 933 221 471 422 869
output:
NIE
result:
ok no solution
Test #107:
score: 0
Accepted
time: 2ms
memory: 16316kb
input:
685 529 162 1 340 414
output:
NIE
result:
ok no solution
Test #108:
score: 0
Accepted
time: 7ms
memory: 16148kb
input:
223 827 10 541 138 219
output:
NIE
result:
ok no solution
Test #109:
score: 0
Accepted
time: 5ms
memory: 12120kb
input:
189 453 87 140 95 24
output:
NIE
result:
ok no solution
Test #110:
score: 0
Accepted
time: 5ms
memory: 14232kb
input:
624 89 242 19 521 15
output:
LDDDLGGGLDDDLGGGLDDDLGGGLDDDLGGGLDDDLGGGLDDDLGGGLDDDLGGGLDDDLGGGLDDDLGGGLDDDLGGGLDDDLGGGLDDDLGGGLDDDLGGGLDDDLGGGLDDDLGGGLDDDLGGGLDDDLGGGLDDDLGGGLDDDLGGGLDDDLGGGLDDDLGGGLDDDLGGGLDDDLGGGLDDDLGGGLDDDLGGGLDDDLGGGLDDDLGGGLDDDLGGGLDDDLGGGLDDDLGGGLDDDLGGGLDDDLGGGLDDDLGGGLDDDLGGGLDDDLGGGLDDDLGGGLDDDLGGGLDDD...
result:
ok correct path
Test #111:
score: 0
Accepted
time: 1ms
memory: 15932kb
input:
486 735 105 477 139 496
output:
LLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLGPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPP...
result:
ok correct path
Test #112:
score: 0
Accepted
time: 2ms
memory: 12760kb
input:
800 313 184 116 212 280
output:
NIE
result:
ok no solution
Test #113:
score: 0
Accepted
time: 2ms
memory: 16412kb
input:
494 883 175 90 134 506
output:
LLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPP...
result:
ok correct path
Test #114:
score: 0
Accepted
time: 5ms
memory: 14832kb
input:
845 436 726 103 539 382
output:
NIE
result:
ok no solution
Test #115:
score: 0
Accepted
time: 2ms
memory: 11844kb
input:
309 275 159 260 108 185
output:
NIE
result:
ok no solution
Test #116:
score: 0
Accepted
time: 6ms
memory: 15104kb
input:
540 807 325 588 131 323
output:
GPDDLDLGGGLDDDLGGGLDDDLGGGLDDDLGGGLDDDLGGGLDDDLGGGLDDDLGGGLDDDLGGGLDDDLGGGLDDDLGGGLDDDLGGGLDDDLGGGLDDDLGGGLDDDLGGGLDDDLGGGLDDDLGGGLDDDLGGGLDDDLGGGLDDDLGGGLDDDLGGGLDDDLGGGLDDDLGGGLDDDLGGGLDDDLGGGLDDDLGGGLDDDLGGGLDDDLGGGLDDDLGGGLDDDLGGGLDDDLGGGLDDDLGGGLDDDLGGGLDDDLGGGLDDDLGGGLDDDLGGGLDDDLGGGLDDDLGGGLD...
result:
ok correct path
Test #117:
score: 0
Accepted
time: 16ms
memory: 16584kb
input:
910 838 807 658 724 584
output:
GPPPDLLDPPPGGPDDPGGPDDPGGPDDPGGPDDPGGPDDPGGPDDPGGPDDPGGPDDPGGPDDPGGPDDPGGPDDPGGPDDPGGPDDPGGPDDPGGPDDPGGPDDPGGPDDPGGPDDPGGPDDPGGPDDPGGPDDPGGPDDPGGPDDPGGPDDPGGPDDPGGPDDPGGPDDPGGPDDPGGPDDPGGPDDPGGPDDPGGPDDPGGPDDPGGPDDPGGPDDPGGPDDPGGPDDPGGPDDPGGPDDPGGPDDPGGPDDPGGPDDPGGPDDPGGPDDPGGPDDPGGPDDPGGPDDPGGPDDPG...
result:
ok correct path
Test #118:
score: 0
Accepted
time: 2ms
memory: 12268kb
input:
75 464 39 314 40 461
output:
NIE
result:
ok no solution
Test #119:
score: 0
Accepted
time: 2ms
memory: 7768kb
input:
279 14 42 10 234 13
output:
LLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLGGGGGGGGGPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPP...
result:
ok correct path
Test #120:
score: 0
Accepted
time: 2ms
memory: 13952kb
input:
811 644 483 370 471 336
output:
NIE
result:
ok no solution
Test #121:
score: 0
Accepted
time: 2ms
memory: 15220kb
input:
761 823 672 292 570 537
output:
NIE
result:
ok no solution
Test #122:
score: 0
Accepted
time: 2ms
memory: 10392kb
input:
201 149 51 29 187 18
output:
NIE
result:
ok no solution
Test #123:
score: 0
Accepted
time: 2ms
memory: 13864kb
input:
441 41 378 12 36 15
output:
NIE
result:
ok no solution
Test #124:
score: 0
Accepted
time: 2ms
memory: 13872kb
input:
21 510 11 58 18 81
output:
NIE
result:
ok no solution
Test #125:
score: 0
Accepted
time: 2ms
memory: 13944kb
input:
949 375 308 210 282 225
output:
NIE
result:
ok no solution
Test #126:
score: 0
Accepted
time: 2ms
memory: 15400kb
input:
759 763 553 42 160 727
output:
NIE
result:
ok no solution
Test #127:
score: 0
Accepted
time: 5ms
memory: 16892kb
input:
236 958 78 937 84 796
output:
LDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDDDDDDDDDDDDDDDDDDDDPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPP...
result:
ok correct path
Test #128:
score: 0
Accepted
time: 2ms
memory: 14568kb
input:
722 134 14 59 606 46
output:
LDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPP...
result:
ok correct path
Test #129:
score: 0
Accepted
time: 5ms
memory: 15004kb
input:
809 800 723 380 789 198
output:
NIE
result:
ok no solution
Test #130:
score: 0
Accepted
time: 0ms
memory: 15504kb
input:
531 648 37 131 420 81
output:
PDLDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDD...
result:
ok correct path
Test #131:
score: 0
Accepted
time: 2ms
memory: 14080kb
input:
689 470 425 192 368 67
output:
NIE
result:
ok no solution
Test #132:
score: 0
Accepted
time: 6ms
memory: 15696kb
input:
967 92 543 81 397 28
output:
PPPPDLLLDPPPPGGPDDPGGPDDPGGPDDPGGPDDPGGPDDPGGPDDPGGPDDPGGPDDPGGPDDPGGPDDPGGPDDPGGPDDPGGPDDPGGPDDPGGPDDPGGPDDPGGPDDPGGPDDPGGPDDPGGPDDPGGPDDPGGPDDPGGPDDPGGPDDPGGPDDPGGPDDPGGPDDPGGPDDPGGPDDPGGPDDPGGPDDPGGPDDPGGPDDPGGPDDPGGPDDPGGPDDPGGPDDPGGPDDPGGPDDPGGPDDPGGPDDPGGPDDPGGPDDPGGPDDPGGPDDPGGPDDPGGPDDPGGPDD...
result:
ok correct path
Test #133:
score: 0
Accepted
time: 2ms
memory: 14312kb
input:
513 388 353 186 318 7
output:
NIE
result:
ok no solution
Test #134:
score: 0
Accepted
time: 0ms
memory: 16920kb
input:
553 720 252 434 550 15
output:
DDLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLDPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPP...
result:
ok correct path
Test #135:
score: 0
Accepted
time: 4ms
memory: 17188kb
input:
360 932 116 900 118 545
output:
DDLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLDPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPP...
result:
ok correct path
Test #136:
score: 0
Accepted
time: 2ms
memory: 15024kb
input:
862 527 52 339 473 119
output:
LDDDLGGGLDDDLGGGLDDDLGGGLDDDLGGGLDDDLGGGLDDDLGGGLDDDLGGGLDDDLGGGLDDDLGGGLDDDLGGGLDDDLGGGLDDDLGGGLDDDLGGGLDDDLGGGLDDDLGGGLDDDLGGGLDDDLGGGLDDDLGGGLDDDLGGGLDDDLGGGLDDDLGGGLDDDLGGGLDDDLGGGLDDDLGGGLDDDLGGGLDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDD...
result:
ok correct path
Test #137:
score: 0
Accepted
time: 4ms
memory: 11964kb
input:
380 215 295 55 244 156
output:
NIE
result:
ok no solution
Test #138:
score: 0
Accepted
time: 2ms
memory: 14024kb
input:
197 281 77 108 115 121
output:
NIE
result:
ok no solution
Test #139:
score: 0
Accepted
time: 1ms
memory: 11728kb
input:
125 194 7 188 29 47
output:
GPDDLLGGLDDLGGLDDLGGLDDDDDDDPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPGLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLGPPPPPPPPPPPPPPPPPPPPPPP...
result:
ok correct path
Test #140:
score: 0
Accepted
time: 2ms
memory: 12748kb
input:
840 421 277 385 175 215
output:
NIE
result:
ok no solution
Test #141:
score: 0
Accepted
time: 4ms
memory: 11888kb
input:
245 270 236 243 207 164
output:
NIE
result:
ok no solution
Test #142:
score: 0
Accepted
time: 2ms
memory: 14004kb
input:
660 242 51 219 89 137
output:
NIE
result:
ok no solution
Test #143:
score: 0
Accepted
time: 5ms
memory: 13800kb
input:
157 425 55 399 53 55
output:
PDLDDLGGGLDDDLGGGLDDDLGGGLDDDLGGGLDDDLGGGLDDDLGGGLDDDLGGGLDDDLGGGLDDDLGGGLDDDLGGGLDDDLGGGLDDDLGGGLDDDLGGGLDDDLGGGLDDDLGGGLDDDLGGGLDDDLGGGLDDDLGGGLDDDLGGGLDDDLGGGLDDDLGGGLDDDLGGGLDDDLGGGLDDDLGGGLDDDLGGGLDDDLGGGLDDDLGGGLDDDDDDDDDDDDDDDDDDDDDDDDDDPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPP...
result:
ok correct path
Test #144:
score: 0
Accepted
time: 2ms
memory: 14796kb
input:
676 505 43 363 481 88
output:
PDLDDLGGGLDDDLGGGLDDDLGGGLDDDLGGGLDDDLGGGLDDDLGGGLDDDLGGGLDDDLGGGLDDDLGGGLDDDLGGGLDDDLGGGLDDDLGGGLDDDLGGGLDDDLGGGLDDDLGGGLDDDLGGGLDDDLGGGLDDDLGGGLDDDLGGGLDDDLGGGLDDDLGGGLDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDD...
result:
ok correct path
Test #145:
score: 0
Accepted
time: 2ms
memory: 15092kb
input:
610 532 288 331 1 275
output:
LDPPGPDDPGGPDDPGGPDDPGGPDDPGGPDDPGGPDDPGGPDDPGGPDDPGGPDDPGGPDDPGGPDDPGGPDDPGGPDDPGGPDDPGGPDDPGGPDDPGGPDDPGGPDDPGGPDDPGGPDDPGGPDDPGGPDDPGGPDDPGGPDDPGGPDDPGGPDDPGGPDDPGGPDDPGGPDDPGGPDDPGGPDDPGGPDDPGGPDDPGGPDDPGGPDDPGGPDDPGGPDDPGGPDDPGGPDDPGGPDDPGGPDDPGGPDDPGGPDDPGGPDDPGGPDDPGGPDDPGGPDDPGGPDDPGGPDDPGGP...
result:
ok correct path
Test #146:
score: 0
Accepted
time: 5ms
memory: 11844kb
input:
158 327 67 70 78 180
output:
LLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPDLLLLLLL...
result:
ok correct path
Test #147:
score: 0
Accepted
time: 0ms
memory: 11916kb
input:
11 382 8 7 6 284
output:
LLLLLLGPPPPPPPPPGLLLLLLLLLGPPPPPPPPPGLLLLLLLLLGPPPPPPPPPGLLLLLLLLLLDDDDDDDPPPPPPPPGPPDLDPDLLGLLLLLLLLDPPPPPPPDLLLLLLLDPPPPPPPPGPPDLDPDLLGLLLLLLLLDPPPPPPPDLLLLLLLDPPPPPPPPGPPDLDPDLLGLLLLLLLLDPPPPPPPDLLLLLLLDPPPPPPPPGPPDLDPDLLGLLLLLLLLDPPPPPPPDLLLLLLLDPPPPPPPPGPPDLDPDLLGLLLLLLLLDPPPPPPPDLLLLLLLDPPPPPP...
result:
ok correct path
Test #148:
score: 0
Accepted
time: 2ms
memory: 14976kb
input:
874 12 106 7 72 10
output:
LLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLGPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPP...
result:
ok correct path
Test #149:
score: 0
Accepted
time: 2ms
memory: 16964kb
input:
863 722 692 328 124 121
output:
PPDLLLDPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPGGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDL...
result:
ok correct path
Test #150:
score: 0
Accepted
time: 4ms
memory: 16352kb
input:
996 262 376 123 512 112
output:
LDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGG...
result:
ok correct path
Test #151:
score: 0
Accepted
time: 0ms
memory: 11840kb
input:
343 379 239 172 314 265
output:
NIE
result:
ok no solution
Test #152:
score: 0
Accepted
time: 3ms
memory: 13996kb
input:
27 737 6 314 14 647
output:
NIE
result:
ok no solution
Test #153:
score: 0
Accepted
time: 2ms
memory: 17472kb
input:
23 994 17 502 20 802
output:
LLLLLLLLLLLLLLLLGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGG...
result:
ok correct path
Test #154:
score: 0
Accepted
time: 3ms
memory: 8236kb
input:
109 93 6 90 80 86
output:
GLLLLLDDDDPGGGPDDDPGGGPDDDPGGPGGPDDDLDPPPGLGGGPDDPGGPDDDLDPPPGLGGGPDDPGGPDDDLDPPPGLGGGPDDPGGPDDDLDPPPGLGGGPDDPGGPDDDLDPPPGLGGGPDDPGGPDDDLDPPPGLGGGPDDPGGPDDDLDPPPGLGGGPDDPGGPDDDLDPPPGLGGGPDDPGGPDDDLDPPPGLGGGPDDPGGPDDDLDPPPGLGGGPDDPGGPDDDLDPPPGLGGGPDDPGGPDDDLDPPPGLGGGPDDPGGPDDDLDPPPGLGGGPDDPGGPDDDLDPP...
result:
ok correct path
Test #155:
score: 0
Accepted
time: 4ms
memory: 16836kb
input:
518 882 247 6 464 608
output:
LLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLGGGGGPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPP...
result:
ok correct path
Test #156:
score: 0
Accepted
time: 0ms
memory: 14296kb
input:
727 440 553 219 84 123
output:
PPPPDLLLDPPPPGGPDDPGGPDDPGGPDDPGGPDDPGGPDDPGGPDDPGGPDDPGGPDDPGGPDDPGGPDDPGGPDDPGGPDDPGGPDDPGGPDDPGGPDDPGGPDDPGGPDDPGGPDDPGGPDDPGGPDDPGGPDDPGGPDDPGGPDDPGGPDDPGGPDDPGGPDDPGGPDDPGGPDDPGGPDDPGGPDDPGGPDDPGGPDDPGGPDDPGGPDDPGGPDDPGGPDDPGGPDDPGGPDDPGGPDDPGGPDDPGGPDDPGGPDDPGGPDDPGGPDDPGGPDDPGGPDDPGGPDDPGGPDD...
result:
ok correct path
Test #157:
score: 0
Accepted
time: 1ms
memory: 16192kb
input:
611 660 516 179 235 137
output:
LDPPGPPDLDPPGGPDDPGGPDDPGGPDDPGGPDDPGGPDDPGGPDDPGGPDDPGGPDDPGGPDDPGGPDDPGGPDDPGGPDDPGGPDDPGGPDDPGGPDDPGGPDDPGGPDDPGGPDDPGGPDDPGGPDDPGGPDDPGGPDDPGGPDDPGGPDDPGGPDDPGGPDDPGGPDDPGGPDDPGGPDDPGGPDDPGGPDDPGGPDDPGGPDDPGGPDDPGGPDDPGGPDDPGGPDDPGGPDDPGGPDDPGGPDDPGGPDDPGGPDDPGGPDDPGGPDDPGGPDDPGGPDDDLLLLLLLLLLLL...
result:
ok correct path
Test #158:
score: 0
Accepted
time: 4ms
memory: 16136kb
input:
792 533 346 91 782 450
output:
LLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLL...
result:
ok correct path
Test #159:
score: 0
Accepted
time: 4ms
memory: 11800kb
input:
173 134 108 61 123 63
output:
LLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLGPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPGLLLLLLLLLLLLLLLLLLLLL...
result:
ok correct path
Test #160:
score: 0
Accepted
time: 8ms
memory: 16336kb
input:
781 911 349 802 497 416
output:
NIE
result:
ok no solution
Test #161:
score: 0
Accepted
time: 2ms
memory: 12364kb
input:
259 312 204 154 117 145
output:
NIE
result:
ok no solution
Test #162:
score: 0
Accepted
time: 2ms
memory: 16640kb
input:
278 905 108 812 33 796
output:
PPGLLLDDPPPDPGGGPDDDPGGGPDDDPGGGPDDDPGGGPDDDPGGGPDDDPGGGPDDDPGGGPDDDPGGGPDDDPGGGPDDDPGGGPDDDPGGGPDDDPGGGPDDDPGGGPDDDPGGGPDDDPGGGPDDDPGGGPDDDPGGGPDDDPGGGPDDDPGGGPDDDPGGGPDDDPGGGPDDDPGGGPDDDPGGGPDDDPGGGPDDDPGGGPDDDPGGGPDDDPGGGPDDDPGGGPDDDPGGGPDDDPGGGPDDDPGGGPDDDPGGGPDDDPGGGPDDDPGGGPDDDPGGGPDDDPGGGPDDD...
result:
ok correct path
Test #163:
score: 0
Accepted
time: 4ms
memory: 12400kb
input:
290 514 156 101 134 53
output:
NIE
result:
ok no solution
Test #164:
score: 0
Accepted
time: 5ms
memory: 11752kb
input:
200 318 85 64 130 226
output:
LLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPP...
result:
ok correct path
Test #165:
score: 0
Accepted
time: 3ms
memory: 9728kb
input:
50 23 22 22 3 5
output:
NIE
result:
ok no solution
Test #166:
score: 0
Accepted
time: 5ms
memory: 10548kb
input:
403 155 68 133 46 89
output:
NIE
result:
ok no solution
Test #167:
score: 0
Accepted
time: 2ms
memory: 14064kb
input:
694 361 515 221 616 55
output:
PDLDDLGGGLDDDLGGGLDDDLGGGLDDDLGGGLDDDLGGGLDDDLGGGLDDDLGGGLDDDLGGGLDDDLGGGLDDDLGGGLDDDLGGGLDDDLGGGLDDDLGGGLDDDLGGGLDDDLGGGLDDDLGGGLDDDLGGGLDDDLGGGLDDDLGGGLDDDLGGGLDDDLGGGLDDDLGGGLDDDLGGGLDDDLGGGLDDDLGGGLDDDLGGGLDDDLGGGLDDDLGGGLDDDLGGGLDDDLGGGLDDDLGGGLDDDLGGGLDDDLGGGLDDDLGGGLDDDLGGGLDDDLGGGLDDDLGGGLDD...
result:
ok correct path
Test #168:
score: 0
Accepted
time: 0ms
memory: 14404kb
input:
101 593 61 107 5 591
output:
LLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLGPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPGLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLGPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPP...
result:
ok correct path
Test #169:
score: 0
Accepted
time: 2ms
memory: 14972kb
input:
892 255 683 205 336 52
output:
NIE
result:
ok no solution
Test #170:
score: 0
Accepted
time: 1ms
memory: 17320kb
input:
866 777 40 507 687 84
output:
NIE
result:
ok no solution
Test #171:
score: 0
Accepted
time: 0ms
memory: 9736kb
input:
467 374 248 280 132 186
output:
NIE
result:
ok no solution
Test #172:
score: 0
Accepted
time: 2ms
memory: 11836kb
input:
423 251 138 1 108 6
output:
NIE
result:
ok no solution
Test #173:
score: 0
Accepted
time: 4ms
memory: 12456kb
input:
681 586 678 580 678 392
output:
NIE
result:
ok no solution
Test #174:
score: 0
Accepted
time: 8ms
memory: 17708kb
input:
455 969 25 65 411 756
output:
NIE
result:
ok no solution
Test #175:
score: 0
Accepted
time: 2ms
memory: 14120kb
input:
614 304 413 93 290 8
output:
NIE
result:
ok no solution
Test #176:
score: 0
Accepted
time: 3ms
memory: 10296kb
input:
202 155 25 78 159 103
output:
LLLLLLLLLLLLLLLLLLLLLLLLGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPP...
result:
ok correct path
Test #177:
score: 0
Accepted
time: 5ms
memory: 14260kb
input:
729 84 381 33 537 52
output:
LLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLL...
result:
ok correct path
Test #178:
score: 0
Accepted
time: 2ms
memory: 15376kb
input:
415 982 109 364 233 582
output:
NIE
result:
ok no solution
Test #179:
score: 0
Accepted
time: 5ms
memory: 16780kb
input:
966 505 581 211 871 188
output:
PDLDDLGGGLDDDLGGGLDDDLGGGLDDDLGGGLDDDLGGGLDDDLGGGLDDDLGGGLDDDLGGGLDDDLGGGLDDDLGGGLDDDLGGGLDDDLGGGLDDDLGGGLDDDLGGGLDDDLGGGLDDDLGGGLDDDLGGGLDDDLGGGLDDDLGGGLDDDLGGGLDDDLGGGLDDDLGGGLDDDLGGGLDDDLGGGLDDDLGGGLDDDLGGGLDDDLGGGLDDDLGGGLDDDLGGGLDDDLGGGLDDDLGGGLDDDLGGGLDDDLGGGLDDDLGGGLDDDLGGGLDDDLGGGLDDDLGGGLDD...
result:
ok correct path
Test #180:
score: 0
Accepted
time: 2ms
memory: 15956kb
input:
278 799 68 589 57 343
output:
LDDDLGGGLDDDLGGGLDDDLGGGLDDDLGGGLDDDLGGGLDDDLGGGLDDDLGGGLDDDLGGGLDDDLGGGLDDDLGGGLDDDLGGGLDDDLGGGLDDDLGGGLDDDLGGGLDDDLGGGLDDDLGGGLDDDLGGGLDDDLGGGLDDDLGGGLDDDLGGGLDDDLGGGLDDDLGGGLDDDLGGGLDDDLGGGLDDDLGGGLDDDLGGGLDDDLGGGLDDDLGGGLDDDLGGGLDDDLGGGLDDDLGGGLDDDLGGGLDDDLGGGLDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDD...
result:
ok correct path
Test #181:
score: 0
Accepted
time: 2ms
memory: 13872kb
input:
252 182 241 81 4 48
output:
NIE
result:
ok no solution
Test #182:
score: 0
Accepted
time: 3ms
memory: 14608kb
input:
851 155 480 14 750 41
output:
NIE
result:
ok no solution
Test #183:
score: 0
Accepted
time: 0ms
memory: 14292kb
input:
9 657 9 335 8 260
output:
LDPDLLLDPPPDLLLLLLLDPPPPPPPDLLLLLLLDPPPPPPPDLLLLLLLDPPPPPPPDLLLLLLLDPPPPPPPDLLLLLLLDPPPPPPPDLLLLLLLDPPPPPPPDLLLLLLLDPPPPPPPDLLLLLLLDPPPPPPPDLLLLLLLDPPPPPPPDLLLLLLLDPPPPPPPDLLLLLLLDPPPPPPPDLLLLLLLDPPPPPPPDLLLLLLLDPPPPPPPDLLLLLLLDPPPPPPPDLLLLLLLDPPPPPPPDLLLLLLLDPPPPPPPDLLLLLLLDPPPPPPPDLLLLLLLDPPPPPPPD...
result:
ok correct path
Test #184:
score: 0
Accepted
time: 3ms
memory: 15580kb
input:
728 808 46 34 547 806
output:
LLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPP...
result:
ok correct path
Test #185:
score: 0
Accepted
time: 0ms
memory: 15364kb
input:
105 704 98 638 18 669
output:
LLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGG...
result:
ok correct path
Test #186:
score: 0
Accepted
time: 2ms
memory: 14328kb
input:
505 804 428 300 189 447
output:
NIE
result:
ok no solution
Test #187:
score: 0
Accepted
time: 2ms
memory: 10384kb
input:
154 274 94 268 94 89
output:
DDLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLDPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPDLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLL...
result:
ok correct path
Test #188:
score: 0
Accepted
time: 1ms
memory: 15272kb
input:
976 526 938 456 671 390
output:
PDLLDPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPGGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLLLDLGLDDPDLLLGPGGLDLGLDDPDLLLGPGGLDLGLDDPDLLLGPGGLDLGLDDPDLLLGPGGLDLGLDDPDLLLGPGGLDLGLDDPDLLLGPGGLDLGLDDPDLLLGPGGLDLGLDDPDLLLGPGGLDLGLDDPDLLLGPG...
result:
ok correct path
Test #189:
score: 0
Accepted
time: 4ms
memory: 14044kb
input:
834 52 29 31 522 26
output:
NIE
result:
ok no solution
Test #190:
score: 0
Accepted
time: 5ms
memory: 13888kb
input:
125 566 86 309 74 208
output:
LDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDD...
result:
ok correct path
Test #191:
score: 0
Accepted
time: 2ms
memory: 15328kb
input:
995 432 895 156 466 50
output:
PPPDLLLDPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPGGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDD...
result:
ok correct path
Test #192:
score: 0
Accepted
time: 4ms
memory: 16880kb
input:
767 955 610 194 199 916
output:
NIE
result:
ok no solution
Test #193:
score: 0
Accepted
time: 5ms
memory: 11684kb
input:
307 73 225 12 202 73
output:
NIE
result:
ok no solution
Test #194:
score: 0
Accepted
time: 5ms
memory: 15100kb
input:
187 722 163 179 120 678
output:
NIE
result:
ok no solution
Test #195:
score: 0
Accepted
time: 0ms
memory: 16500kb
input:
652 611 202 378 244 1
output:
DDDLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLDPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPP...
result:
ok correct path
Test #196:
score: 0
Accepted
time: 2ms
memory: 15320kb
input:
969 165 884 22 622 125
output:
NIE
result:
ok no solution
Test #197:
score: 0
Accepted
time: 3ms
memory: 17344kb
input:
888 321 380 14 478 297
output:
LLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLL...
result:
ok correct path
Test #198:
score: 0
Accepted
time: 2ms
memory: 15232kb
input:
413 927 401 222 318 484
output:
NIE
result:
ok no solution
Test #199:
score: 0
Accepted
time: 2ms
memory: 14252kb
input:
697 520 621 183 652 462
output:
NIE
result:
ok no solution
Test #200:
score: 0
Accepted
time: 5ms
memory: 12252kb
input:
258 236 114 26 23 182
output:
LLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLGGGGGGGGGGGGGGGGGGGGGGGGGPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPP...
result:
ok correct path
Test #201:
score: 0
Accepted
time: 4ms
memory: 16748kb
input:
944 932 929 480 601 137
output:
GPDDLLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDL...
result:
ok correct path
Test #202:
score: 0
Accepted
time: 2ms
memory: 15264kb
input:
661 691 525 577 122 581
output:
NIE
result:
ok no solution
Test #203:
score: 0
Accepted
time: 7ms
memory: 15492kb
input:
704 668 205 369 289 258
output:
PDLDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLG...
result:
ok correct path
Test #204:
score: 0
Accepted
time: 5ms
memory: 14716kb
input:
572 618 548 32 478 376
output:
NIE
result:
ok no solution
Test #205:
score: 0
Accepted
time: 6ms
memory: 14196kb
input:
491 587 410 273 167 484
output:
NIE
result:
ok no solution
Test #206:
score: 0
Accepted
time: 2ms
memory: 11812kb
input:
309 165 223 8 221 112
output:
NIE
result:
ok no solution
Test #207:
score: 0
Accepted
time: 1ms
memory: 11820kb
input:
13 418 10 406 6 126
output:
NIE
result:
ok no solution
Test #208:
score: 0
Accepted
time: 2ms
memory: 16000kb
input:
992 492 965 18 330 382
output:
LLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLL...
result:
ok correct path
Test #209:
score: 0
Accepted
time: 7ms
memory: 15880kb
input:
879 708 66 674 828 203
output:
DDLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLDPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPP...
result:
ok correct path
Test #210:
score: 0
Accepted
time: 4ms
memory: 14236kb
input:
486 876 465 311 444 534
output:
NIE
result:
ok no solution
Test #211:
score: 0
Accepted
time: 2ms
memory: 11944kb
input:
326 65 246 10 10 46
output:
NIE
result:
ok no solution
Test #212:
score: 0
Accepted
time: 0ms
memory: 15220kb
input:
739 298 114 1 640 253
output:
NIE
result:
ok no solution
Test #213:
score: 0
Accepted
time: 4ms
memory: 16492kb
input:
310 998 223 823 240 553
output:
PDLDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLG...
result:
ok correct path
Test #214:
score: 0
Accepted
time: 2ms
memory: 12608kb
input:
17 300 11 50 2 163
output:
NIE
result:
ok no solution
Test #215:
score: 0
Accepted
time: 2ms
memory: 13972kb
input:
403 366 53 268 29 46
output:
NIE
result:
ok no solution
Test #216:
score: 0
Accepted
time: 4ms
memory: 14024kb
input:
832 559 591 426 168 227
output:
NIE
result:
ok no solution
Test #217:
score: 0
Accepted
time: 4ms
memory: 12012kb
input:
204 458 147 188 25 61
output:
GPDDLLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDL...
result:
ok correct path
Test #218:
score: 0
Accepted
time: 3ms
memory: 14496kb
input:
787 79 681 17 244 63
output:
NIE
result:
ok no solution
Test #219:
score: 0
Accepted
time: 1ms
memory: 14456kb
input:
768 341 475 179 556 278
output:
NIE
result:
ok no solution
Test #220:
score: 0
Accepted
time: 2ms
memory: 13900kb
input:
265 596 229 400 174 395
output:
NIE
result:
ok no solution
Test #221:
score: 0
Accepted
time: 5ms
memory: 10520kb
input:
647 135 247 112 265 25
output:
NIE
result:
ok no solution
Test #222:
score: 0
Accepted
time: 2ms
memory: 12180kb
input:
554 439 236 102 92 202
output:
NIE
result:
ok no solution
Test #223:
score: 0
Accepted
time: 1ms
memory: 13932kb
input:
754 383 334 280 164 156
output:
NIE
result:
ok no solution
Test #224:
score: 0
Accepted
time: 0ms
memory: 10240kb
input:
256 113 2 90 135 75
output:
NIE
result:
ok no solution
Test #225:
score: 0
Accepted
time: 2ms
memory: 14436kb
input:
633 289 580 238 627 25
output:
DDDLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLL...
result:
ok correct path
Test #226:
score: 0
Accepted
time: 6ms
memory: 15816kb
input:
984 176 925 22 244 27
output:
NIE
result:
ok no solution
Test #227:
score: 0
Accepted
time: 0ms
memory: 12076kb
input:
490 33 91 26 296 8
output:
GPDDLDLGGGLDDDLGGGLDDDLGGGLDDDLGGGLDDDLGGGLDDDLGGGLDDDLGGGLDDDLGGGLDDDLGGGLDDDLGGGLDDDLGGGLDDDLGGGLDDDLGGGLDDDLGGGLDDDLGGGLDDDLGGGLDDDLGGGLDDDLGGGLDDDLGGGLDDDLGGGLDDDLGGGLDDDLGGGLDDDLGGGLDDDLGGGLDDDLGGGLDDDLGGGLDDDLGGGLDDDLGGGLDDDLGGGLDDDLGGGLDDDLGGGLDDDLGGGLDDDLGGGLDDDLGGGLDDDLGGGLDDDLGGGLDDDLGGGLD...
result:
ok correct path
Test #228:
score: 0
Accepted
time: 2ms
memory: 14040kb
input:
820 615 312 369 540 593
output:
NIE
result:
ok no solution
Test #229:
score: 0
Accepted
time: 0ms
memory: 11680kb
input:
64 317 10 21 23 172
output:
NIE
result:
ok no solution
Test #230:
score: 0
Accepted
time: 4ms
memory: 9836kb
input:
338 128 234 98 186 112
output:
NIE
result:
ok no solution
Test #231:
score: 0
Accepted
time: 5ms
memory: 14328kb
input:
706 69 662 69 47 23
output:
PPGLLGPPGPDDDPGGGPDDDPGGGPDDDPGGGPDDDPGGGPDDDPGGGPDDDPGGGPDDDPGGGPDDDPGGGPDDDPGGGPDDDPGGGPDDDPGGGPDDDPGGGPDDDPGGGPDDDPGGGPDDDPGGGPDDDPGGGPDDDPGGGPDDDPGGGPDDDPGGGPDDDPGGGPDDDPGGGGLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLDLGLDDDDLLGPGGGLDDLGGLDDDPDLLLGPGGGLDDLGGLDDDPDLLLGPGGGLDDLGGLDDDPDLLLGPGGGLDDL...
result:
ok correct path
Test #232:
score: 0
Accepted
time: 4ms
memory: 15352kb
input:
997 520 74 460 987 338
output:
DDLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLDPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPP...
result:
ok correct path
Test #233:
score: 0
Accepted
time: 5ms
memory: 9924kb
input:
125 45 59 14 57 2
output:
NIE
result:
ok no solution
Test #234:
score: 0
Accepted
time: 2ms
memory: 11828kb
input:
343 387 209 288 75 362
output:
NIE
result:
ok no solution
Test #235:
score: 0
Accepted
time: 3ms
memory: 15936kb
input:
340 759 328 48 276 417
output:
LLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLL...
result:
ok correct path
Test #236:
score: 0
Accepted
time: 2ms
memory: 15480kb
input:
249 750 162 747 68 610
output:
LLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLDDDPGGPDDPGGPDDPGGPDDPGGPDDPGGPDDPGGPDDPGGPDDPGGPDDPGGPDDPGGPDDPGGPDDPGGPDDPGGPDDPGGPDDPGGPDDPGGPDDPGGPDDPGGPDDPGGPDDPGGPDDPGGPDDPGGPDDPGGP...
result:
ok correct path
Test #237:
score: 0
Accepted
time: 4ms
memory: 11868kb
input:
47 215 9 153 10 214
output:
LLLLLLLGPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPGLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLGPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPGLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLGPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPGLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLGPPPPPPPPPPPPPPPP...
result:
ok correct path
Test #238:
score: 0
Accepted
time: 2ms
memory: 15652kb
input:
899 604 859 221 610 572
output:
NIE
result:
ok no solution
Test #239:
score: 0
Accepted
time: 6ms
memory: 15024kb
input:
967 811 583 240 205 119
output:
NIE
result:
ok no solution
Test #240:
score: 0
Accepted
time: 2ms
memory: 14748kb
input:
836 825 283 238 263 678
output:
NIE
result:
ok no solution
Test #241:
score: 0
Accepted
time: 1ms
memory: 14872kb
input:
366 720 304 142 362 346
output:
NIE
result:
ok no solution
Test #242:
score: 0
Accepted
time: 2ms
memory: 15840kb
input:
989 343 91 70 480 171
output:
NIE
result:
ok no solution
Test #243:
score: 0
Accepted
time: 0ms
memory: 14056kb
input:
248 850 48 427 194 625
output:
NIE
result:
ok no solution
Test #244:
score: 0
Accepted
time: 4ms
memory: 16044kb
input:
277 852 91 620 17 789
output:
LLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGG...
result:
ok correct path
Test #245:
score: 0
Accepted
time: 4ms
memory: 14972kb
input:
381 892 33 235 344 143
output:
PDLDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDD...
result:
ok correct path
Test #246:
score: 0
Accepted
time: 2ms
memory: 15116kb
input:
158 554 48 485 103 363
output:
LDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPP...
result:
ok correct path
Test #247:
score: 0
Accepted
time: 5ms
memory: 13976kb
input:
509 49 181 27 17 19
output:
PPPPDLLLLDPPPPDPGGGPDDDPGGGPDDDPGGGPDDDPGGGPDDDPGGGPDDDPGGGPDDDPGGGPDDDPGGGPDDDPGGGPDDDPGGGPDDDPGGGPDDDPGGGPDDDPGGGPDDDPGGGPDDDPGGGPDDDPGGGPDDDPGGGPDDDPGGGPDDDPGGGPDDDPGGGPDDDPGGGPDDDPGGGPDDDPGGGPDDDPGGGPDDDPGGGPDDDPGGGPDDDPGGGPDDDPGGGPDDDPGGGPDDDPGGGPDDDPGGGPDDDPGGGPDDDPGGGPDDDPGGGPDDDPGGGPDDDPGGGP...
result:
ok correct path
Test #248:
score: 0
Accepted
time: 5ms
memory: 15380kb
input:
896 320 190 72 627 234
output:
LLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPP...
result:
ok correct path
Test #249:
score: 0
Accepted
time: 2ms
memory: 14104kb
input:
368 464 366 371 162 82
output:
LDPPDLLLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLD...
result:
ok correct path
Test #250:
score: 0
Accepted
time: 4ms
memory: 13924kb
input:
512 423 170 376 79 411
output:
NIE
result:
ok no solution
Test #251:
score: 0
Accepted
time: 4ms
memory: 13968kb
input:
238 253 42 42 12 93
output:
LLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPP...
result:
ok correct path
Test #252:
score: 0
Accepted
time: 1ms
memory: 16692kb
input:
132 651 108 642 74 45
output:
DDDLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLDPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPDLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLL...
result:
ok correct path
Test #253:
score: 0
Accepted
time: 2ms
memory: 12632kb
input:
168 268 39 88 151 251
output:
LLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPDLLLLLLL...
result:
ok correct path
Test #254:
score: 0
Accepted
time: 2ms
memory: 12296kb
input:
409 178 26 74 3 46
output:
DDLLLLLLLLLLLLLLLLLLLLLLLLDPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPP...
result:
ok correct path
Test #255:
score: 0
Accepted
time: 2ms
memory: 14628kb
input:
315 641 292 604 126 248
output:
DDDLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLDPPPPPP...
result:
ok correct path
Test #256:
score: 0
Accepted
time: 0ms
memory: 12552kb
input:
284 353 200 124 57 157
output:
NIE
result:
ok no solution
Test #257:
score: 0
Accepted
time: 0ms
memory: 14028kb
input:
904 862 669 414 543 424
output:
NIE
result:
ok no solution
Test #258:
score: 0
Accepted
time: 2ms
memory: 14844kb
input:
806 596 663 72 544 376
output:
LLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLL...
result:
ok correct path
Test #259:
score: 0
Accepted
time: 2ms
memory: 13796kb
input:
654 431 373 289 438 388
output:
NIE
result:
ok no solution
Test #260:
score: 0
Accepted
time: 2ms
memory: 15220kb
input:
728 434 700 80 60 126
output:
NIE
result:
ok no solution
Test #261:
score: 0
Accepted
time: 0ms
memory: 12032kb
input:
249 296 81 186 38 240
output:
LLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPP...
result:
ok correct path
Test #262:
score: 0
Accepted
time: 4ms
memory: 10164kb
input:
376 59 366 12 193 23
output:
NIE
result:
ok no solution
Test #263:
score: 0
Accepted
time: 6ms
memory: 14844kb
input:
149 563 26 22 87 192
output:
NIE
result:
ok no solution
Test #264:
score: 0
Accepted
time: 2ms
memory: 13960kb
input:
447 153 300 70 36 78
output:
LLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLG...
result:
ok correct path
Test #265:
score: 0
Accepted
time: 5ms
memory: 13800kb
input:
477 151 110 116 350 30
output:
DDDLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLDPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPP...
result:
ok correct path
Test #266:
score: 0
Accepted
time: 5ms
memory: 14404kb
input:
764 57 708 10 738 15
output:
LLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLL...
result:
ok correct path
Test #267:
score: 0
Accepted
time: 3ms
memory: 12580kb
input:
457 449 63 392 333 141
output:
NIE
result:
ok no solution
Test #268:
score: 0
Accepted
time: 5ms
memory: 10384kb
input:
19 155 13 111 17 118
output:
NIE
result:
ok no solution
Test #269:
score: 0
Accepted
time: 2ms
memory: 14676kb
input:
216 489 44 3 200 323
output:
NIE
result:
ok no solution
Test #270:
score: 0
Accepted
time: 0ms
memory: 14532kb
input:
875 161 642 31 854 113
output:
NIE
result:
ok no solution
Test #271:
score: 0
Accepted
time: 2ms
memory: 14652kb
input:
293 810 81 314 91 319
output:
LLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGG...
result:
ok correct path
Test #272:
score: 0
Accepted
time: 2ms
memory: 12468kb
input:
200 553 112 302 9 234
output:
PPGLLLDDPPPDPGGGPDDDPGGGPDDDPGGGPDDDPGGGPDDDPGGGPDDDPGGGPDDDPGGGPDDDPGGGPDDDPGGGPDDDPGGGPDDDPGGGPDDDPGGGPDDDPGGGPDDDPGGGPDDDPGGGPDDDPGGGPDDDPGGGPDDDPGGGPDDDPGGGPDDDPGGGPDDDPGGGPDDDPGGGPDDDPGGGPDDDPGGGPDDDPGGGPDDDPGGGPDDDPGGGPDDDPGGGPDDDPGGGPDDDPGGGPDDDPGGGPDDDPGGGPDDDPGGGPDDDPGGGPDDDPGGGPDDDPGGGPDDD...
result:
ok correct path
Test #273:
score: 0
Accepted
time: 11ms
memory: 16184kb
input:
475 874 71 582 183 717
output:
LLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGG...
result:
ok correct path
Test #274:
score: 0
Accepted
time: 0ms
memory: 13840kb
input:
221 20 203 20 87 17
output:
PPPPGLLLLGPPPPPDDPGGPDDPGGPDDPGGPDDPGGPDDPGGPDDPGGPDDPGGGLLLLLLLLLLLLLLLLLLLLDPDDLGLDLGGPGLLLDPDDLGLDLGGPGLLLDPDDLGLDLGGPGLLLDPDDLGLDLGGPGLLLDPDDLGLDLGGPGLLLDPDDLGLDLGGPGLLLDPDDLGLDLGGPGLLLDPDDLGLDLGGPGLLLDPDDLGLDLGGPGLLLDPDDLGLDLGGPGLLLDPDDLGLDLGGPGLLLDPDDLGLDLGGPGLLLDPDDLGLDLGGPGLLLDPDDLGLDLGGPGLL...
result:
ok correct path
Test #275:
score: 0
Accepted
time: 4ms
memory: 10208kb
input:
22 277 15 91 15 64
output:
PDLDDLGGGLDDDLGGGLDDDLGGGLDDDLGGGLDDDLGGGLDDDLGGGLDDDLGGGLDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDPPPPPPPPPPPPPPPPPPPPPGLLLLLLLLLLLLLLLLLLLLGPPPPPPPPPPPPP...
result:
ok correct path
Test #276:
score: 0
Accepted
time: 4ms
memory: 14008kb
input:
172 498 113 364 52 330
output:
PPDLLDPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPGGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLDDLGGLLLLLDPDDLGLDLGGPGLLLDPDDLGLDLGGPGLLLDPDDLGLDLGGPGLLLDPDDLGLDLGG...
result:
ok correct path
Test #277:
score: 0
Accepted
time: 2ms
memory: 13748kb
input:
366 317 118 99 115 181
output:
LLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLGPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPP...
result:
ok correct path
Test #278:
score: 0
Accepted
time: 2ms
memory: 14544kb
input:
754 626 698 412 529 409
output:
NIE
result:
ok no solution
Test #279:
score: 0
Accepted
time: 6ms
memory: 15044kb
input:
880 67 280 54 642 63
output:
LLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLGGGGGGGGGGGGGGGGGGGGG...
result:
ok correct path
Test #280:
score: 0
Accepted
time: 1ms
memory: 14592kb
input:
62 617 25 432 60 508
output:
LLLLLLLLLLLLLLLLLLLLLLLLGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGG...
result:
ok correct path
Test #281:
score: 0
Accepted
time: 5ms
memory: 11988kb
input:
319 113 140 49 132 51
output:
NIE
result:
ok no solution
Test #282:
score: 0
Accepted
time: 0ms
memory: 14128kb
input:
478 125 69 42 73 47
output:
LLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPP...
result:
ok correct path
Test #283:
score: 0
Accepted
time: 4ms
memory: 12248kb
input:
529 278 201 57 33 217
output:
NIE
result:
ok no solution
Test #284:
score: 0
Accepted
time: 2ms
memory: 14268kb
input:
713 452 326 374 126 94
output:
NIE
result:
ok no solution
Test #285:
score: 0
Accepted
time: 2ms
memory: 14488kb
input:
313 547 292 414 116 336
output:
PPDLLDLDPPGPDPPPPPPPPPPPPPPPPPPPGGGGLDDDLGGGLDDDLGGGLDDDLGGGLDDDLGGGLDDDLGGGLDDDLGGGLDDDLGGGLDDDLGGGLDDDLGGGLLLLDDLDDLGGGPGLLLDPDDDLGGLDDLGGGPGLLLDPDDDLGGLDDLGGGPGLLLDPDDDLGGLDDLGGGPGLLLDPDDDLGGLDDLGGGPGLLLDPDDDLGGLDDLGGGPGLLLDPDDDLGGLDDLGGGPGLLLDPDDDLGGLDDLGGGPGLLLDPDDDLGGLDDLGGGPGLLLDPDDDLGGLDDLGG...
result:
ok correct path