QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#238849#7680. Subwayucup-team2304#WA 1ms5816kbC++141.6kb2023-11-04 17:42:362023-11-04 17:42:36

Details

Tip: Click on the bar to expand more detailed information

Test #1:

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

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 -899981480 2 -899981479 1 8501 -1 8503 1 8505 2 -1501 3 -899981481 4 -899981460 3 -899981459 2 1 3 -899981456 4 -899961460 3 -899961459 2 28501 0 28503 2 28505 3 -1501 4 -899961461 5 -899961440 4 -899961439 3 3 4 -899961436 5 -89...

result:

wrong answer Self-intersecting polyline 1.