QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#694642#9532. 长野原龙势流星群ucup-team51380 39ms54728kbC++231.5kb2024-10-31 18:23:172024-10-31 18:23:17

詳細信息

Subtask #1:

score: 0
Time Limit Exceeded

Test #1:

score: 10
Accepted
time: 24ms
memory: 38308kb

input:

2000
1 2 2 4 5 2 3 6 4 2 7 2 8 14 8 12 1 14 4 14 8 18 9 2 7 22 20 22 14 29 28 16 6 21 23 6 21 14 13 9 1 4 18 13 2 39 21 33 18 20 38 27 27 1 49 5 51 3 31 24 10 42 2 44 13 9 35 66 27 60 67 59 29 40 53 2 33 43 26 43 62 16 78 45 14 10 73 69 41 35 25 26 2 70 54 1 54 48 5 36 44 28 90 29 51 51 93 82 95 45 ...

output:

883838885.9230769231
887174926.0000000000
881025216.7096774193
912609654.6666666667
872318573.5000000000
831791515.1538461539
867874850.0000000000
892392319.1666666667
836427216.0000000000
869519853.8000000000
693335785.3750000000
925100890.0000000000
994728511.5000000000
950304719.0000000000
808673...

result:

ok 2000 numbers

Test #2:

score: 10
Accepted
time: 19ms
memory: 38312kb

input:

2000
1 1 1 1 1 6 6 6 8 1 7 6 9 4 11 10 17 1 9 20 4 2 7 22 13 21 5 26 19 20 9 8 24 22 32 24 24 8 30 7 22 22 7 14 4 18 30 38 9 45 21 38 53 16 39 6 44 12 10 34 14 17 54 14 65 55 17 21 40 9 27 65 54 53 61 30 3 52 57 49 31 34 16 32 11 85 81 43 36 43 3 45 42 93 83 37 86 77 2 23 41 77 19 18 51 91 68 22 85 ...

output:

794920955.2200000000
713825019.5000000000
734115991.8000000000
800547209.7837837838
734508347.0000000000
760946433.3750000000
750093634.8979591837
735976830.1111111111
765501191.9411764706
747665901.9523809524
816306482.5000000000
741938108.1111111111
790936468.7500000000
784791287.9047619047
686615...

result:

ok 2000 numbers

Test #3:

score: 10
Accepted
time: 20ms
memory: 40120kb

input:

2000
1 1 2 3 3 3 3 4 2 8 4 6 2 10 1 8 8 13 1 19 15 18 8 17 20 16 16 21 11 28 14 18 31 4 30 24 17 10 22 26 2 34 14 13 13 37 43 3 3 38 9 4 29 43 29 46 7 55 9 23 23 49 29 12 45 25 67 59 45 24 5 55 52 73 51 28 25 26 49 78 62 10 18 1 35 73 35 16 52 62 5 89 4 49 12 46 55 14 18 68 64 25 21 88 25 19 82 46 4...

output:

755177543.5161290322
762060513.2941176470
754126791.2625000000
777333185.5500000000
758703127.5000000000
756576527.2222222222
764146306.7857142857
750062914.1400000000
710728919.8125000000
770351278.7500000000
769495170.0000000000
776873566.5714285714
763361472.6000000000
718961316.4545454545
691159...

result:

ok 2000 numbers

Test #4:

score: 10
Accepted
time: 22ms
memory: 38784kb

input:

2000
1 1 3 4 1 1 4 3 3 2 1 3 11 3 1 7 17 9 7 18 4 5 16 10 16 14 12 6 16 22 28 32 27 4 4 19 36 38 12 31 28 18 30 44 35 43 44 29 10 29 7 18 18 35 23 42 12 24 23 2 42 59 8 24 14 49 16 62 38 46 7 34 41 41 10 20 53 71 18 38 63 54 26 76 39 84 28 36 9 53 26 19 39 34 26 49 86 10 64 34 74 43 19 70 97 35 92 4...

output:

914894038.5333333333
918141155.8333333333
911927555.0000000000
870659540.1538461539
777969562.2352941177
778920774.5555555556
876560725.0000000000
974455318.0000000000
858643515.2500000000
835985850.6190476191
963419161.2500000000
868819817.0000000000
813378295.0000000000
984875621.0000000000
762109...

result:

ok 2000 numbers

Test #5:

score: 10
Accepted
time: 20ms
memory: 38200kb

input:

2000
1 2 2 3 2 1 7 8 8 6 9 12 12 3 8 3 9 15 3 19 8 7 4 19 18 23 10 21 10 15 10 22 1 21 19 26 1 38 38 1 18 37 14 27 37 43 30 4 2 2 13 42 13 9 13 38 21 23 58 32 13 62 18 62 15 49 5 61 1 45 29 48 38 34 31 43 45 38 52 54 13 21 78 36 21 45 57 14 25 18 29 45 2 43 8 51 75 79 95 55 29 98 55 93 33 5 93 14 77...

output:

865975765.9540229885
864960665.6000000000
853815173.5555555556
725289681.8000000000
835914002.7500000000
751151162.3000000000
880779494.2631578947
883843482.9166666667
866946310.4600000000
875695250.2727272727
798984107.4000000000
869102654.8928571428
879836598.4166666667
911092097.0000000000
850227...

result:

ok 2000 numbers

Test #6:

score: 10
Accepted
time: 27ms
memory: 52504kb

input:

2000
1 1 2 2 3 3 4 4 5 5 6 6 7 7 8 8 9 9 10 10 11 11 12 12 13 13 14 14 15 15 16 16 17 17 18 18 19 19 20 20 21 21 22 22 23 23 24 24 25 25 26 26 27 27 28 28 29 29 30 30 31 31 32 32 33 33 34 34 35 35 36 36 37 37 38 38 39 39 40 40 41 41 42 42 43 43 44 44 45 45 46 46 47 47 48 48 49 49 50 50 51 51 52 52 5...

output:

780031265.2857142857
709196423.6341463415
852016017.0000000000
710198590.8550724637
942523004.0000000000
795582647.0000000000
817131607.0000000000
723247621.6750000000
711787456.3214285714
702698215.8181818182
778948304.7500000000
825829512.6666666667
731540545.6842105263
717838198.7250000000
755917...

result:

ok 2000 numbers

Test #7:

score: 10
Accepted
time: 36ms
memory: 53000kb

input:

2000
1 1 2 2 3 3 4 4 5 5 6 6 7 7 8 8 9 9 10 10 11 11 12 12 13 13 14 14 15 15 16 16 17 17 18 18 19 19 20 20 21 21 22 22 23 23 24 24 25 25 26 26 27 27 28 28 29 29 30 30 31 31 32 32 33 33 34 34 35 35 36 36 37 37 38 38 39 39 40 40 41 41 42 42 43 43 44 44 45 45 46 46 47 47 48 48 49 49 50 50 51 51 52 52 5...

output:

621161049.0487804878
460347579.9461538462
624970425.7239263804
386751620.2403100775
463913107.3178294574
565084289.9534883721
628866372.3798449612
344826388.2000000000
389755854.0156250000
428515994.7968750000
467520113.5312500000
517598544.1640625000
569478380.3046875000
614133627.3046875000
633756...

result:

ok 2000 numbers

Test #8:

score: 10
Accepted
time: 34ms
memory: 53200kb

input:

2000
1 1 2 2 3 3 4 4 5 5 6 6 7 7 8 8 9 9 10 10 11 11 12 12 13 13 14 14 15 15 16 16 17 17 18 18 19 19 20 20 21 21 22 22 23 23 24 24 25 25 26 26 27 27 28 28 29 29 30 30 31 31 32 32 33 33 34 34 35 35 36 36 37 37 38 38 39 39 40 40 41 41 42 42 43 43 44 44 45 45 46 46 47 47 48 48 49 49 50 50 51 51 52 52 5...

output:

621374004.5748792270
487030122.8750000000
624597241.7000000000
939364019.0000000000
480110389.2480620155
578610053.0000000000
628514468.2138364780
497600202.0000000000
398302285.6701030928
430778150.1788617886
483844086.0234375000
534427093.2698412699
585697877.2592592593
623651552.6739130435
634659...

result:

ok 2000 numbers

Test #9:

score: 10
Accepted
time: 39ms
memory: 54728kb

input:

2000
1 1 2 2 3 3 4 4 5 5 6 6 7 7 8 8 9 9 10 10 11 11 12 12 13 13 14 14 15 15 16 16 17 17 18 18 19 19 20 20 21 21 22 22 23 23 24 24 25 25 26 26 27 27 28 28 29 29 30 30 31 31 32 32 33 33 34 34 35 35 36 36 37 37 38 38 39 39 40 40 41 41 42 42 43 43 44 44 45 45 46 46 47 47 48 48 49 49 50 50 51 51 52 52 5...

output:

762088830.2333333333
781353370.1724137931
714336862.8333333333
723995695.1304347826
787379090.4642857143
708370854.0526315789
735529969.8260869565
725933828.3181818182
721088075.7380952381
810402666.8888888889
798070041.7142857143
761321868.0000000000
708379177.7407407407
806707103.0000000000
682416...

result:

ok 2000 numbers

Test #10:

score: 10
Accepted
time: 27ms
memory: 54628kb

input:

2000
1 1 2 2 3 3 4 4 5 5 6 6 7 7 8 8 9 9 10 10 11 11 12 12 13 13 14 14 15 15 16 16 17 17 18 18 19 19 20 20 21 21 22 22 23 23 24 24 25 25 26 26 27 27 28 28 29 29 30 30 31 31 32 32 33 33 34 34 35 35 36 36 37 37 38 38 39 39 40 40 41 41 42 42 43 43 44 44 45 45 46 46 47 47 48 48 49 49 50 50 51 51 52 52 5...

output:

796409562.0000000000
777105384.2500000000
719995401.8400000000
755696351.5238095238
972657380.0000000000
705728479.9464285714
822339463.6666666667
756514023.7142857143
858700663.0000000000
980362468.0000000000
924539106.0000000000
708454243.0000000000
722158127.3103448276
856914923.0000000000
691671...

result:

ok 2000 numbers

Test #11:

score: 10
Accepted
time: 12ms
memory: 38328kb

input:

2000
1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1...

output:

984618295.6153846154
902277197.0000000000
383235589.0000000000
742640716.0000000000
613666672.0000000000
291453150.0000000000
625937043.0000000000
958739025.0000000000
34831727.0000000000
240997073.0000000000
334863696.0000000000
223278814.0000000000
111864227.0000000000
669195136.0000000000
1725111...

result:

ok 2000 numbers

Test #12:

score: 0
Time Limit Exceeded

input:

2000
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...

output:


result:


Subtask #2:

score: 0
Runtime Error

Test #32:

score: 0
Runtime Error

input:

200000
1 1 2 2 3 3 4 4 5 5 6 6 7 7 8 8 9 9 10 10 11 11 12 12 13 13 14 14 15 15 16 16 17 17 18 18 19 19 20 20 21 21 22 22 23 23 24 24 25 25 26 26 27 27 28 28 29 29 30 30 31 31 32 32 33 33 34 34 35 35 36 36 37 37 38 38 39 39 40 40 41 41 42 42 43 43 44 44 45 45 46 46 47 47 48 48 49 49 50 50 51 51 52 52...

output:


result:


Subtask #3:

score: 0
Skipped

Dependency #1:

0%

Subtask #4:

score: 0
Skipped

Dependency #2:

0%