QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#132301#6329. Colorful GraphMaMengQiWA 1ms4340kbC++2.5kb2023-07-29 14:20:462023-07-29 14:20:49

Details

Tip: Click on the bar to expand more detailed information

Test #1:

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

input:

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

output:

1 1 2 1 1 

result:

ok AC

Test #2:

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

input:

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

output:

2 2 1 1 1 

result:

ok AC

Test #3:

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

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

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 1949 2587 2137 1746 2 3 2510 3041 2241 1750 1750 4 1750 2211 5 2775 6 3139 1789 2740 2909 1747 2253 1939 7 8 1730 2424 9 2921 2867 10 11 2524 2524 2327 12 1747 13 2203 2954 14 2804 15 3111 16 1747 17 18 3483 19 2664 1746 1973 2110 1747 20 3208 21 2881 1746 1746 1747 2053 22 1747 1747 2236 23 24 31...

result:

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