QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#238752#7680. Subwayucup-team2304#WA 1ms6040kbC++141.4kb2023-11-04 17:25:552023-11-04 17:25:56

Details

Tip: Click on the bar to expand more detailed information

Test #1:

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

input:

3
1 2 1
2 1 2
3 3 2

output:

2
33 1 -1501 2 -900001501 3 -900001500 2 -900001499 1 2 2 -900001496 3 -900001480 2 -900001479 1 8501 0 8503 1 8505 2 -1501 3 -900001481 4 -900001480 3 -900001479 2 1 3 -900001476 4 -900001460 3 -900001459 2 8521 1 8523 2 8525 3 -1501 4 -900001461 5 -900001460 4 -900001459 3 3 4 -900001456 5 -900001...

result:

wrong answer Self-intersecting polyline 1.