QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#670780#7680. SubwaygoodmanWA 2ms8068kbC++142.9kb2024-10-24 01:05:232024-10-24 01:05:25

Details

Tip: Click on the bar to expand more detailed information

Test #1:

score: 100
Accepted
time: 1ms
memory: 5840kb

input:

3
1 2 1
2 1 2
3 3 2

output:

2
11 10002 -1001 2 1 10006 -1001 10007 -3000 10008 -1001 1 2 10010 -1001 10011 -3000 10012 -1001 3 3 10016 -1001 
7 10000 -1001 2 1 10004 -1001 10009 -11000 10014 -1001 3 3 10018 -1001 

result:

ok ok Sum L = 18

Test #2:

score: 0
Accepted
time: 1ms
memory: 5824kb

input:

1
1 1 1

output:

1
3 10000 -1001 1 1 10002 -1001 

result:

ok ok Sum L = 3

Test #3:

score: 0
Accepted
time: 1ms
memory: 5788kb

input:

1
1 1 50

output:

50
3 10000 -1001 1 1 10100 -1001 
3 10002 -1001 1 1 10102 -1001 
3 10004 -1001 1 1 10104 -1001 
3 10006 -1001 1 1 10106 -1001 
3 10008 -1001 1 1 10108 -1001 
3 10010 -1001 1 1 10110 -1001 
3 10012 -1001 1 1 10112 -1001 
3 10014 -1001 1 1 10114 -1001 
3 10016 -1001 1 1 10116 -1001 
3 10018 -1001 1 1 ...

result:

ok ok Sum L = 150

Test #4:

score: -100
Wrong Answer
time: 2ms
memory: 8068kb

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
47 10040 -1001 961 -919 10106 -1001 10131 -51000 10156 -1001 -306 -897 10242 -1001 10319 -155000 10396 -1001 -371 -812 10482 -1001 10507 -51000 10532 -1001 -885 -775 10574 -1001 10601 -55000 10628 -1001 -462 -719 10646 -1001 10647 -3000 10648 -1001 202 -702 10668 -1001 10687 -39000 10706 -1001 -8...

result:

wrong answer Self-intersecting polyline 1.