QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#248981#7680. Subwayucup-team456WA 1ms3820kbC++203.3kb2023-11-11 23:19:512023-11-11 23:19:52

Details

Tip: Click on the bar to expand more detailed information

Test #1:

score: 100
Accepted
time: 0ms
memory: 3820kb

input:

3
1 2 1
2 1 2
3 3 2

output:

2
5 1 2 6004 6007 3 3 6003 6005 2 1 
3 3 3 10004 10008 2 1 

result:

ok ok Sum L = 8

Test #2:

score: 0
Accepted
time: 0ms
memory: 3612kb

input:

1
1 1 1

output:

1
2 1 1 6002 6005

result:

ok ok Sum L = 2

Test #3:

score: 0
Accepted
time: 0ms
memory: 3608kb

input:

1
1 1 50

output:

50
2 1 1 6002 6005
2 1 1 10003 10008
2 1 1 14004 14011
2 1 1 18005 18014
2 1 1 22006 22017
2 1 1 26007 26020
2 1 1 30008 30023
2 1 1 34009 34026
2 1 1 38010 38029
2 1 1 42011 42032
2 1 1 46012 46035
2 1 1 50013 50038
2 1 1 54014 54041
2 1 1 58015 58044
2 1 1 62016 62047
2 1 1 66017 66050
2 1 1 70018...

result:

ok ok Sum L = 100

Test #4:

score: -100
Wrong Answer
time: 1ms
memory: 3496kb

input:

50
662 -567 48
728 -120 7
307 669 27
-885 -775 21
100 242 9
-784 -537 41
940 198 46
736 -551 30
-449 456 16
-945 382 18
-182 810 49
213 187 44
853 245 48
617 -305 19
-81 261 3
617 208 8
-548 -652 6
-888 -667 14
-371 -812 43
202 -702 10
-668 -725 5
961 -919 33
-870 -697 50
428 810 29
560 405 7
348 -3...

output:

50
99 -926 671 369409 371008 -683 731 65458 66874 -558 825 113083 114467 -945 382 245236 246565 -825 381 429925 431132 -182 810 177595 178589 -449 456 237078 237985 -981 -193 230247 231036 190 864 337753 338429 -331 176 254491 255000 428 810 33867 34251 -141 226 14310 14679 307 669 41929 42292 -81 2...

result:

wrong answer Polyline 4 has partially overlapping segments with previous polylines.