QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#426462#6329. Colorful GraphcrescentWA 5ms6648kbC++144.4kb2024-05-31 12:16:532024-05-31 12:16:54

Details

Tip: Click on the bar to expand more detailed information

Test #1:

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

input:

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

output:

1 2 2 1 1 

result:

ok AC

Test #2:

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

input:

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

output:

1 1 2 2 2 

result:

ok AC

Test #3:

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

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: 5ms
memory: 6648kb

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:

1 107 414 203 1751 1752 1751 377 655 1505 1 1 1753 1 232 1754 516 1755 702 25 498 585 1751 253 102 1756 1757 1755 334 1758 1171 566 1759 1760 385 385 286 1761 1751 1762 1525 614 1763 534 1764 687 1765 1751 1766 1767 879 1768 1292 1751 122 187 1 1769 1031 1770 575 1751 1751 1751 158 1771 1751 1751 24...

result:

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