QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#50092#868. Friendship CirclesZhangYiDeWA 16ms3820kbC++113.3kb2022-09-24 16:10:192022-09-24 16:10:21

Details

Tip: Click on the bar to expand more detailed information

Test #1:

score: 100
Accepted
time: 2ms
memory: 3660kb

input:

2
4
1 0
3 1
3 -2
7 0
5
0 0
-2 -1
2 2
-2 10
-1 11

output:

2 1 2
3 1 2 3

result:

ok 7 numbers

Test #2:

score: -100
Wrong Answer
time: 16ms
memory: 3820kb

input:

10000
10
132243110 -894263225
-965927366 756806080
-563126858 -401644076
-528090722 -199265042
-184232391 -184423675
-346777300 -583114791
624815460 788278140
543172921 980159251
-143672624 674688477
-393343296 525780596
9
64745555 827730910
-665070184 -152609349
-905275127 -345568169
-949821348 -84...

output:

3 4 5 6
4 1 4 6 8
1 1
3 1 2 3
2 2 5
3 1 2 3
6 1 2 3 4 5 6
5 1 2 3 4 9
4 1 2 3 4
6 1 2 3 4 5 9
2 1 2
3 1 4 6
5 2 4 5 6 7
4 1 2 4 5
3 1 2 3
4 1 2 3 6
3 1 6 8
1 1
2 1 2
5 1 3 4 6 7
4 1 2 4 6
3 2 3 4
4 1 3 4 7
4 1 3 7 9
3 3 4 5
4 3 4 6 8
5 1 3 4 6 7
3 1 2 3
2 2 3
3 2 5 6
3 1 2 3
3 2 3 4
4 2 5 6 8
3 1 4 ...

result:

wrong answer 5th numbers differ - expected: '5', found: '4'