QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#142875 | #6329. Colorful Graph | chenchi | TL | 1231ms | 16552kb | C++23 | 3.3kb | 2023-08-20 01:14:40 | 2023-08-20 01:14:41 |
Due to the privacy settings of the submitter, you are not allowed to view this code.
Details
Tip: Click on the bar to expand more detailed information
Test #1:
score: 100
Accepted
time: 1ms
memory: 3772kb
input:
5 5 1 4 2 3 1 3 2 5 5 1
output:
1 1 1 2 2
result:
ok AC
Test #2:
score: 0
Accepted
time: 1ms
memory: 3752kb
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: 1ms
memory: 3696kb
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: 0
Accepted
time: 1231ms
memory: 16464kb
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 2 2 3 4 5 4 3 2 5 6 6 6 7 6 7 3 8 2 7 6 9 10 10 11 11 10 12 10 13 6 11 14 12 12 10 13 15 15 16 14 11 17 12 18 10 19 16 20 21 22 23 15 23 17 18 16 24 11 25 19 23 8 23 20 26 8 23 21 27 28 17 29 16 30 24 8 25 19 8 23 27 26 21 28 29 30 8 23 27 28 31 32 27 31 31 26 21 33 28 34 34 33 29 34 35 33 36 35 3...
result:
ok AC
Test #5:
score: 0
Accepted
time: 718ms
memory: 16416kb
input:
7000 6999 4832 1603 5984 6985 5355 3687 6007 2170 5984 3486 3267 2189 538 2123 4343 4553 5855 6168 5984 257 4239 2304 5984 2063 3298 1869 5984 6353 5984 2018 5984 5387 5984 3382 3164 3978 2690 2816 4810 2638 5984 3773 5984 1634 5984 2786 5984 3671 5984 5140 2943 5721 5984 414 1105 4060 3093 796 5984...
output:
1 1 1 2 3 2 4 5 3 6 7 4 5 8 8 9 3 4 5 9 8 10 11 12 3 5 13 14 15 16 17 10 11 12 13 14 18 15 19 20 16 21 22 17 23 3 24 11 18 25 6 26 27 28 29 15 19 20 21 12 22 23 24 30 31 32 25 33 6 34 26 27 28 29 15 22 31 32 35 10 36 37 33 38 5 34 39 25 28 7 40 41 29 31 23 6 42 27 35 36 32 37 43 10 44 38 45 34 39 46...
result:
ok AC
Test #6:
score: 0
Accepted
time: 939ms
memory: 16452kb
input:
7000 6999 1649 5337 1701 3344 4394 2172 3330 39 5932 1141 5381 5340 5453 3300 125 2172 6810 5263 804 2172 6635 2172 676 4740 3015 1183 1710 5769 611 5915 3419 1581 2094 2172 4508 2172 6604 2433 6113 1466 1604 696 1518 1123 1287 2940 4825 2172 5130 4524 2693 2172 106 2172 5157 2172 3693 2172 5198 217...
output:
1 2 3 4 5 5 5 6 7 8 9 7 4 8 10 11 10 12 9 13 14 11 12 8 13 15 14 16 14 13 17 15 14 18 18 16 17 19 20 18 17 21 22 19 22 23 24 25 20 17 26 21 24 27 24 28 22 29 30 25 17 26 27 31 32 33 34 35 36 28 22 30 25 37 32 38 26 37 38 31 37 33 35 39 32 34 38 37 35 39 40 41 42 32 43 39 43 40 41 44 45 46 47 48 44 4...
result:
ok AC
Test #7:
score: 0
Accepted
time: 761ms
memory: 16552kb
input:
7000 6999 2896 6321 881 2623 5058 2623 4833 2623 4669 2623 4781 5007 1447 2623 4781 4768 4781 3834 2758 4792 797 5055 3784 2623 4781 5510 6606 3040 597 3459 4136 2037 1291 3989 4781 837 4781 4379 5637 2053 1642 2665 4781 4664 4781 952 4924 2511 4781 4201 4781 2352 4781 5362 3901 197 137 2623 2706 19...
output:
1 2 3 2 1 3 1 2 3 4 1 4 3 4 4 1 4 2 2 3 2 5 5 6 7 8 9 10 5 6 7 8 9 10 11 7 11 12 11 13 10 9 14 12 7 13 11 14 10 13 12 13 9 14 12 13 12 15 15 16 12 15 16 16 16 15 17 18 16 19 17 18 19 16 18 17 19 18 20 18 20 20 21 17 21 22 19 21 22 23 18 23 24 20 21 24 22 23 21 24 22 23 25 25 23 26 25 26 25 27 26 27 ...
result:
ok AC
Test #8:
score: 0
Accepted
time: 166ms
memory: 16176kb
input:
6999 6998 1269 3969 1269 2429 1269 2609 1269 2515 1269 6166 1269 6614 3108 1269 2105 1269 4670 1269 578 1269 4661 1269 1421 1269 2576 1269 6152 1269 1269 6636 3011 1269 305 1269 5189 1269 1683 1269 6861 1269 1269 5798 1499 1269 282 1269 914 1269 80 1269 677 1269 701 1269 1269 359 6521 1269 1269 1754...
output:
1 2 3 4 1 5 6 2 3 4 5 6 7 7 8 9 10 8 11 12 9 13 14 10 15 16 17 18 19 11 20 12 21 22 13 23 14 15 24 16 17 25 26 18 19 27 28 29 30 31 20 21 22 32 23 24 33 34 35 36 37 25 26 38 27 28 29 39 40 41 30 42 31 32 33 43 44 34 45 46 35 47 36 37 48 38 49 39 40 50 41 51 42 52 53 54 43 55 56 57 44 45 46 47 48 58 ...
result:
ok AC
Test #9:
score: 0
Accepted
time: 73ms
memory: 16152kb
input:
7000 0
output:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 ...
result:
ok AC
Test #10:
score: -100
Time Limit Exceeded
input:
7000 6999 3138 1903 3285 5919 6182 1430 1164 961 1577 6445 1390 3384 935 5723 6614 6387 4799 2877 3915 5128 5366 5455 2287 3941 2053 2326 4022 6993 488 2922 4327 4701 4674 3221 1666 4773 4356 3232 3888 937 4318 6942 577 1299 4491 1938 5154 1254 790 5532 4286 5478 2918 6725 2853 304 2554 5207 5140 77...