QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#219323#6329. Colorful Graphucup-team1295RE 2ms14028kbC++1410.4kb2023-10-19 12:04:442023-10-19 12:04:45

詳細信息

Test #1:

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

input:

5 5
1 4
2 3
1 3
2 5
5 1

output:

1 1 1 2 1

result:

ok AC

Test #2:

score: 0
Accepted
time: 0ms
memory: 13832kb

input:

5 7
1 2
2 1
4 3
5 1
5 4
4 1
4 5

output:

1 1 2 1 1

result:

ok AC

Test #3:

score: 0
Accepted
time: 2ms
memory: 10116kb

input:

8 6
6 1
3 4
3 6
2 3
4 1
6 4

output:

1 1 1 1 2 1 3 4

result:

ok AC

Test #4:

score: -100
Runtime Error

input:

7000 6999
4365 4296
2980 3141
6820 4995
4781 24
2416 5844
2940 2675
3293 2163
3853 5356
262 6706
1985 1497
5241 3803
353 1624
5838 4708
5452 3019
2029 6161
3849 4219
1095 1453
4268 4567
1184 1857
2911 3977
1662 2751
6353 6496
2002 6628
1407 4623
425 1331
4445 4277
1259 3165
4994 1044
2756 5788
5496 ...

output:

3499
1 0 0 0 239 2 15 0 0 0 1464 2479 23 1349 0 41 0 70 0 0 0 0 2791 0 0 83 84 82 0 85 0 0 105 106 0 0 0 107 719 136 0 0 153 0 156 0 162 913 168 174 0 201 0 29 0 0 323 212 0 213 0 2351 34 784 0 215 2034 2361 0 230 251 0 252 0 256 0 78 0 0 1009 124 123 0 0 690 0 0 0 0 474 0 0 0 0 1074 0 0 0 276 0 268...

result: