QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#670785#7680. SubwaygoodmanWA 1ms8040kbC++143.0kb2024-10-24 01:20:132024-10-24 01:20:13

Details

Tip: Click on the bar to expand more detailed information

Test #1:

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

input:

3
1 2 1
2 1 2
3 3 2

output:

2
11 1000002 -1001 2 1 1000006 -1001 1000007 -1003 1000008 -1001 1 2 1000010 -1001 1000011 -1003 1000012 -1001 3 3 1000016 -1001 
7 1000000 -1001 2 1 1000004 -1001 1000009 -1011 1000014 -1001 3 3 1000018 -1001 

result:

ok ok Sum L = 18

Test #2:

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

input:

1
1 1 1

output:

1
3 1000000 -1001 1 1 1000002 -1001 

result:

ok ok Sum L = 3

Test #3:

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

input:

1
1 1 50

output:

50
3 1000000 -1001 1 1 1000100 -1001 
3 1000002 -1001 1 1 1000102 -1001 
3 1000004 -1001 1 1 1000104 -1001 
3 1000006 -1001 1 1 1000106 -1001 
3 1000008 -1001 1 1 1000108 -1001 
3 1000010 -1001 1 1 1000110 -1001 
3 1000012 -1001 1 1 1000112 -1001 
3 1000014 -1001 1 1 1000114 -1001 
3 1000016 -1001 1...

result:

ok ok Sum L = 150

Test #4:

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

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 1000040 -1001 961 -919 1000106 -1001 1000131 -1051 1000156 -1001 -306 -897 1000242 -1001 1000319 -1155 1000396 -1001 -371 -812 1000482 -1001 1000507 -1051 1000532 -1001 -885 -775 1000574 -1001 1000601 -1055 1000628 -1001 -462 -719 1000646 -1001 1000647 -1003 1000648 -1001 202 -702 1000668 -100...

result:

wrong answer Self-intersecting polyline 7.