QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#193226#6329. Colorful GraphZhaoZiLongWA 492ms11088kbC++173.5kb2023-09-30 16:39:562023-09-30 16:39:56

详细

Test #1:

score: 100
Accepted
time: 1ms
memory: 4280kb

input:

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

output:

1 1 2 1 2

result:

ok AC

Test #2:

score: 0
Accepted
time: 1ms
memory: 4348kb

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: 0ms
memory: 4160kb

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
Wrong Answer
time: 492ms
memory: 11088kb

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:

873 630 737 655 1585 650 1665 724 961 1505 1272 1196 1147 506 666 1159 516 1732 702 25 498 585 1366 253 1146 979 36 917 1056 35 1171 922 34 33 839 1043 286 1733 421 1167 1525 614 32 534 31 687 1734 1035 885 1735 881 1168 1292 115 970 187 743 30 1031 29 783 1614 118 1457 158 28 1479 948 243 27 26 710...

result:

wrong answer Integer 1751 violates the range [1, 1750]