QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#50142#868. Friendship CirclesZhaoZiLongWA 14ms3816kbC++113.2kb2022-09-24 17:28:592022-09-24 17:29:00

詳細信息

Test #1:

score: 100
Accepted
time: 0ms
memory: 3740kb

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: 14ms
memory: 3816kb

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:

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

result:

wrong answer 1st numbers differ - expected: '3', found: '2'