QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#219326#6329. Colorful Graphucup-team1295WA 4ms14476kbC++1410.4kb2023-10-19 12:08:402023-10-19 12:08:40

Details

Tip: Click on the bar to expand more detailed information

Test #1:

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

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: 2ms
memory: 12580kb

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: 13936kb

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: 4ms
memory: 14476kb

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 505 836 598 3086 2162 2851 797 1052 657 97 339 3229 168 643 3230 1646 3346 1101 2137 905 1577 2658 664 500 3426 3427 3358 758 3428 991 964 3429 3430 805 804 1876 3431 2791 3432 637 1004 3433 1628 3434 1475 3435 2748 3436 3437 1272 3438 870 2895 515 1975 17 3439 1131 3440 970 3005 2900 2385 20...

result:

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