QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#238240#7680. Subwayucup-team1075#WA 1ms3692kbC++142.4kb2023-11-04 16:10:542023-11-04 16:10:54

Details

Tip: Click on the bar to expand more detailed information

Test #1:

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

input:

3
1 2 1
2 1 2
3 3 2

output:

2
9 799549 999999900 1 2 799651 999999900 1599749 999999900 2 1 1599851 999999900 2399349 999999900 3 3 2399451 999999900 
6 1599750 999999901 2 1 1599850 999999901 2399350 999999901 3 3 2399450 999999901 

result:

ok ok Sum L = 15

Test #2:

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

input:

1
1 1 1

output:

1
3 799749 999999900 1 1 799851 999999900 

result:

ok ok Sum L = 3

Test #3:

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

input:

1
1 1 50

output:

50
3 799749 999999900 1 1 799851 999999900 
3 799750 999999901 1 1 799850 999999901 
3 799751 999999902 1 1 799849 999999902 
3 799752 999999903 1 1 799848 999999903 
3 799753 999999904 1 1 799847 999999904 
3 799754 999999905 1 1 799846 999999905 
3 799755 999999906 1 1 799845 999999906 
3 799756 9...

result:

ok ok Sum L = 150

Test #4:

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

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
150 -784761451 999999900 -981 -193 -784761349 999999900 -756076451 999999900 -945 382 -756076349 999999900 -740934251 999999900 -926 671 -740934149 999999900 -710266651 999999900 -888 -667 -710266549 999999900 -707845051 999999900 -885 -775 -707844949 999999900 -695860651 999999900 -870 -697 -695...

result:

wrong answer Self-intersecting polyline 1.