QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#238696#7680. Subwayucup-team2304#WA 1ms5748kbC++141.5kb2023-11-04 17:17:302023-11-04 17:17:30

Details

Tip: Click on the bar to expand more detailed information

Test #1:

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

input:

3
1 2 1
2 1 2
3 3 2

output:

2
39 1 -1501 2 -900001501 3 -900001500 2 -900001499 1 2 2 -900001496 3 -900001490 2 -900001489 1 1501 0 8501 -1 8503 0 8505 1 1505 2 -1501 3 -900001491 4 -900001490 3 -900001489 2 1 3 -900001486 4 -900001480 3 -900001479 2 1501 1 8511 0 8513 1 8515 2 1505 3 -1501 4 -900001481 5 -900001480 4 -9000014...

result:

wrong answer Self-intersecting polyline 1.