QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#238791#7680. Subwayucup-team2304#WA 1ms5708kbC++141.4kb2023-11-04 17:32:482023-11-04 17:32:49

Details

Tip: Click on the bar to expand more detailed information

Test #1:

score: 0
Wrong Answer
time: 1ms
memory: 5708kb

input:

3
1 2 1
2 1 2
3 3 2

output:

2
33 1 -1501 2 -900001501 3 -900001480 2 -900001479 1 2 2 -900001476 3 -900001460 2 -900001459 1 8501 -1 8503 1 8505 2 -1501 3 -900001461 4 -900001440 3 -900001439 2 1 3 -900001436 4 -900001420 3 -900001419 2 8521 0 8523 2 8525 3 -1501 4 -900001421 5 -900001400 4 -900001399 3 3 4 -900001396 5 -90000...

result:

wrong answer Self-intersecting polyline 1.