QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#865163 | #7718. Coconuts | ucup-team4744# | AC ✓ | 1756ms | 47396kb | C++23 | 5.0kb | 2025-01-21 15:44:24 | 2025-01-21 15:44:25 |
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: 0ms
memory: 3968kb
input:
3 2 1 3 3
output:
0.6666666667
result:
ok found '0.6666667', expected '0.6666667', error '0.0000000'
Test #2:
score: 0
Accepted
time: 0ms
memory: 3968kb
input:
4 5 2 2 3 3
output:
1.8333333333
result:
ok found '1.8333333', expected '1.8333333', error '0.0000000'
Test #3:
score: 0
Accepted
time: 0ms
memory: 3968kb
input:
2 7 4 4
output:
1.0000000000
result:
ok found '1.0000000', expected '1.0000000', error '0.0000000'
Test #4:
score: 0
Accepted
time: 1ms
memory: 3968kb
input:
5 5 3 3 2 3 2
output:
1.7000000000
result:
ok found '1.7000000', expected '1.7000000', error '0.0000000'
Test #5:
score: 0
Accepted
time: 0ms
memory: 3968kb
input:
2 6 4 2
output:
2.0000000000
result:
ok found '2.0000000', expected '2.0000000', error '0.0000000'
Test #6:
score: 0
Accepted
time: 0ms
memory: 3968kb
input:
4 6 2 3 3 3
output:
2.0000000000
result:
ok found '2.0000000', expected '2.0000000', error '0.0000000'
Test #7:
score: 0
Accepted
time: 0ms
memory: 3968kb
input:
3 4 4 4 4
output:
1.0000000000
result:
ok found '1.0000000', expected '1.0000000', error '0.0000000'
Test #8:
score: 0
Accepted
time: 0ms
memory: 3968kb
input:
3 7 4 4 4
output:
1.0000000000
result:
ok found '1.0000000', expected '1.0000000', error '0.0000000'
Test #9:
score: 0
Accepted
time: 1ms
memory: 3968kb
input:
1 3 3
output:
1.0000000000
result:
ok found '1.0000000', expected '1.0000000', error '0.0000000'
Test #10:
score: 0
Accepted
time: 1ms
memory: 3968kb
input:
5 2 3 2 2 2 3
output:
0.6000000000
result:
ok found '0.6000000', expected '0.6000000', error '0.0000000'
Test #11:
score: 0
Accepted
time: 0ms
memory: 3968kb
input:
5 5 4 4 3 2 3
output:
1.2000000000
result:
ok found '1.2000000', expected '1.2000000', error '0.0000000'
Test #12:
score: 0
Accepted
time: 0ms
memory: 3968kb
input:
4 7 3 4 3 4
output:
1.8333333333
result:
ok found '1.8333333', expected '1.8333333', error '0.0000000'
Test #13:
score: 0
Accepted
time: 1ms
memory: 3968kb
input:
1 1 1
output:
1.0000000000
result:
ok found '1.0000000', expected '1.0000000', error '0.0000000'
Test #14:
score: 0
Accepted
time: 0ms
memory: 3968kb
input:
5 1 1 1 1 1 1
output:
1.0000000000
result:
ok found '1.0000000', expected '1.0000000', error '0.0000000'
Test #15:
score: 0
Accepted
time: 1ms
memory: 3968kb
input:
5 3 2 2 2 2 2
output:
1.0000000000
result:
ok found '1.0000000', expected '1.0000000', error '0.0000000'
Test #16:
score: 0
Accepted
time: 1ms
memory: 3968kb
input:
6 9 2 2 2 2 2 2
output:
4.0000000000
result:
ok found '4.0000000', expected '4.0000000', error '0.0000000'
Test #17:
score: 0
Accepted
time: 0ms
memory: 3968kb
input:
6 10 3 3 3 2 3 3
output:
3.0000000000
result:
ok found '3.0000000', expected '3.0000000', error '0.0000000'
Test #18:
score: 0
Accepted
time: 1ms
memory: 3968kb
input:
6 19 4 4 3 3 4 4
output:
5.0000000000
result:
ok found '5.0000000', expected '5.0000000', error '0.0000000'
Test #19:
score: 0
Accepted
time: 1ms
memory: 3968kb
input:
7 16 2 4 5 3 2 5 3
output:
4.3095238095
result:
ok found '4.3095238', expected '4.3095238', error '0.0000000'
Test #20:
score: 0
Accepted
time: 1ms
memory: 3968kb
input:
5 27 5 5 6 6 6
output:
4.0000000000
result:
ok found '4.0000000', expected '4.0000000', error '0.0000000'
Test #21:
score: 0
Accepted
time: 0ms
memory: 3968kb
input:
8 15 7 7 7 7 6 5 7 6
output:
2.0000000000
result:
ok found '2.0000000', expected '2.0000000', error '0.0000000'
Test #22:
score: 0
Accepted
time: 0ms
memory: 3968kb
input:
9 3 2 2 2 2 3 4 3 3 4
output:
0.7777777778
result:
ok found '0.7777778', expected '0.7777778', error '0.0000000'
Test #23:
score: 0
Accepted
time: 1ms
memory: 3840kb
input:
7 8 6 9 5 3 8 9 5
output:
0.8095238095
result:
ok found '0.8095238', expected '0.8095238', error '0.0000000'
Test #24:
score: 0
Accepted
time: 0ms
memory: 3840kb
input:
5 38 10 8 10 10 8
output:
4.0000000000
result:
ok found '4.0000000', expected '4.0000000', error '0.0000000'
Test #25:
score: 0
Accepted
time: 1ms
memory: 3968kb
input:
1 10 10
output:
1.0000000000
result:
ok found '1.0000000', expected '1.0000000', error '0.0000000'
Test #26:
score: 0
Accepted
time: 1ms
memory: 3968kb
input:
2 20 10 10
output:
2.0000000000
result:
ok found '2.0000000', expected '2.0000000', error '0.0000000'
Test #27:
score: 0
Accepted
time: 0ms
memory: 3968kb
input:
10 100 10 10 10 10 10 10 10 10 10 10
output:
10.0000000000
result:
ok found '10.0000000', expected '10.0000000', error '0.0000000'
Test #28:
score: 0
Accepted
time: 1ms
memory: 4096kb
input:
10 50 5 5 6 6 5 6 5 5 5 5
output:
9.0000000000
result:
ok found '9.0000000', expected '9.0000000', error '0.0000000'
Test #29:
score: 0
Accepted
time: 0ms
memory: 3968kb
input:
10 50 5 5 5 5 5 6 5 5 7 6
output:
9.0000000000
result:
ok found '9.0000000', expected '9.0000000', error '0.0000000'
Test #30:
score: 0
Accepted
time: 1ms
memory: 4096kb
input:
10 50 6 6 7 8 5 5 6 5 6 8
output:
7.6666666667
result:
ok found '7.6666667', expected '7.6666667', error '0.0000000'
Test #31:
score: 0
Accepted
time: 0ms
memory: 3968kb
input:
10 50 6 5 5 5 7 6 5 5 5 5
output:
9.0000000000
result:
ok found '9.0000000', expected '9.0000000', error '0.0000000'
Test #32:
score: 0
Accepted
time: 5ms
memory: 4224kb
input:
10 50 6 5 8 9 9 6 7 5 5 7
output:
7.0083333333
result:
ok found '7.0083333', expected '7.0083333', error '0.0000000'
Test #33:
score: 0
Accepted
time: 0ms
memory: 3840kb
input:
10 50 7 7 7 7 7 7 7 7 7 6
output:
7.0000000000
result:
ok found '7.0000000', expected '7.0000000', error '0.0000000'
Test #34:
score: 0
Accepted
time: 1ms
memory: 3968kb
input:
10 50 7 8 6 8 7 7 8 8 8 7
output:
6.0833333333
result:
ok found '6.0833333', expected '6.0833333', error '0.0000000'
Test #35:
score: 0
Accepted
time: 1ms
memory: 3968kb
input:
10 50 9 8 6 9 8 8 8 8 8 6
output:
6.0000000000
result:
ok found '6.0000000', expected '6.0000000', error '0.0000000'
Test #36:
score: 0
Accepted
time: 1ms
memory: 3968kb
input:
10 50 7 8 7 8 7 8 6 6 6 7
output:
6.8916666667
result:
ok found '6.8916667', expected '6.8916667', error '0.0000000'
Test #37:
score: 0
Accepted
time: 1ms
memory: 3968kb
input:
10 50 8 8 7 7 7 8 7 8 7 7
output:
6.0333333333
result:
ok found '6.0333333', expected '6.0333333', error '0.0000000'
Test #38:
score: 0
Accepted
time: 1ms
memory: 3968kb
input:
10 50 7 7 7 7 7 8 7 8 7 7
output:
6.5333333333
result:
ok found '6.5333333', expected '6.5333333', error '0.0000000'
Test #39:
score: 0
Accepted
time: 0ms
memory: 4096kb
input:
10 50 10 9 8 10 10 10 7 10 10 9
output:
5.0000000000
result:
ok found '5.0000000', expected '5.0000000', error '0.0000000'
Test #40:
score: 0
Accepted
time: 0ms
memory: 3968kb
input:
10 50 9 9 8 8 9 8 8 8 8 8
output:
5.8333333333
result:
ok found '5.8333333', expected '5.8333333', error '0.0000000'
Test #41:
score: 0
Accepted
time: 0ms
memory: 3968kb
input:
10 50 9 9 8 10 9 10 10 10 9 8
output:
5.0000000000
result:
ok found '5.0000000', expected '5.0000000', error '0.0000000'
Test #42:
score: 0
Accepted
time: 0ms
memory: 3968kb
input:
10 50 9 9 10 10 9 9 10 10 10 9
output:
5.0000000000
result:
ok found '5.0000000', expected '5.0000000', error '0.0000000'
Test #43:
score: 0
Accepted
time: 1756ms
memory: 47396kb
input:
10 55 1 2 3 4 5 6 7 8 9 10
output:
10.0000000000
result:
ok found '10.0000000', expected '10.0000000', error '0.0000000'
Test #44:
score: 0
Accepted
time: 405ms
memory: 15876kb
input:
10 56 2 2 3 4 5 6 7 8 9 10
output:
10.0000000000
result:
ok found '10.0000000', expected '10.0000000', error '0.0000000'
Test #45:
score: 0
Accepted
time: 195ms
memory: 12884kb
input:
10 57 2 2 3 4 5 6 7 9 9 10
output:
10.0000000000
result:
ok found '10.0000000', expected '10.0000000', error '0.0000000'
Test #46:
score: 0
Accepted
time: 681ms
memory: 24084kb
input:
10 56 1 2 3 4 6 6 7 8 9 10
output:
10.0000000000
result:
ok found '10.0000000', expected '10.0000000', error '0.0000000'
Test #47:
score: 0
Accepted
time: 1019ms
memory: 30004kb
input:
10 54 1 2 3 4 5 6 7 8 9 9
output:
10.0000000000
result:
ok found '10.0000000', expected '10.0000000', error '0.0000000'
Test #48:
score: 0
Accepted
time: 649ms
memory: 24340kb
input:
10 54 1 2 3 4 5 5 7 8 9 10
output:
10.0000000000
result:
ok found '10.0000000', expected '10.0000000', error '0.0000000'
Test #49:
score: 0
Accepted
time: 838ms
memory: 27684kb
input:
10 54 1 2 3 4 5 6 7 9 9 10
output:
9.0000000000
result:
ok found '9.0000000', expected '9.0000000', error '0.0000000'
Test #50:
score: 0
Accepted
time: 10ms
memory: 4352kb
input:
10 76 8 10 8 10 7 9 9 6 8 8
output:
8.9000000000
result:
ok found '8.9000000', expected '8.9000000', error '0.0000000'
Test #51:
score: 0
Accepted
time: 102ms
memory: 8220kb
input:
10 51 5 1 3 3 6 9 2 6 8 8
output:
10.0000000000
result:
ok found '10.0000000', expected '10.0000000', error '0.0000000'
Test #52:
score: 0
Accepted
time: 92ms
memory: 8216kb
input:
10 60 6 3 10 2 4 2 10 5 8 10
output:
10.0000000000
result:
ok found '10.0000000', expected '10.0000000', error '0.0000000'
Test #53:
score: 0
Accepted
time: 127ms
memory: 8992kb
input:
10 64 9 4 10 4 3 5 10 10 2 7
output:
10.0000000000
result:
ok found '10.0000000', expected '10.0000000', error '0.0000000'
Test #54:
score: 0
Accepted
time: 146ms
memory: 9628kb
input:
10 47 10 3 3 9 4 3 1 2 5 7
output:
10.0000000000
result:
ok found '10.0000000', expected '10.0000000', error '0.0000000'
Test #55:
score: 0
Accepted
time: 230ms
memory: 12996kb
input:
10 47 5 7 4 1 5 10 6 3 4 2
output:
10.0000000000
result:
ok found '10.0000000', expected '10.0000000', error '0.0000000'
Test #56:
score: 0
Accepted
time: 209ms
memory: 12800kb
input:
10 60 3 4 8 3 7 10 8 2 6 9
output:
10.0000000000
result:
ok found '10.0000000', expected '10.0000000', error '0.0000000'
Test #57:
score: 0
Accepted
time: 837ms
memory: 27792kb
input:
10 57 1 10 8 6 5 9 3 4 9 2
output:
10.0000000000
result:
ok found '10.0000000', expected '10.0000000', error '0.0000000'
Test #58:
score: 0
Accepted
time: 462ms
memory: 22548kb
input:
10 48 6 2 4 8 5 3 1 2 7 10
output:
10.0000000000
result:
ok found '10.0000000', expected '10.0000000', error '0.0000000'
Test #59:
score: 0
Accepted
time: 594ms
memory: 23076kb
input:
10 51 3 1 4 9 2 7 5 10 6 4
output:
10.0000000000
result:
ok found '10.0000000', expected '10.0000000', error '0.0000000'
Test #60:
score: 0
Accepted
time: 12ms
memory: 4608kb
input:
10 74 4 8 7 8 7 10 6 8 10 8
output:
9.0000000000
result:
ok found '9.0000000', expected '9.0000000', error '0.0000000'
Test #61:
score: 0
Accepted
time: 10ms
memory: 4608kb
input:
10 71 8 10 10 9 10 8 9 6 7 10
output:
7.8444444444
result:
ok found '7.8444444', expected '7.8444444', error '0.0000000'
Test #62:
score: 0
Accepted
time: 0ms
memory: 3968kb
input:
10 93 9 9 10 10 10 10 10 9 10 10
output:
9.0000000000
result:
ok found '9.0000000', expected '9.0000000', error '0.0000000'
Test #63:
score: 0
Accepted
time: 2ms
memory: 4096kb
input:
10 74 8 10 10 10 10 8 7 10 9 10
output:
7.7333333333
result:
ok found '7.7333333', expected '7.7333333', error '0.0000000'
Test #64:
score: 0
Accepted
time: 0ms
memory: 3968kb
input:
10 80 10 10 10 10 8 10 10 10 8 10
output:
8.0000000000
result:
ok found '8.0000000', expected '8.0000000', error '0.0000000'
Test #65:
score: 0
Accepted
time: 0ms
memory: 3968kb
input:
10 79 7 9 9 7 10 9 9 9 10 9
output:
8.8000000000
result:
ok found '8.8000000', expected '8.8000000', error '0.0000000'
Test #66:
score: 0
Accepted
time: 2ms
memory: 4096kb
input:
10 67 7 9 8 7 10 10 10 10 7 9
output:
7.1333333333
result:
ok found '7.1333333', expected '7.1333333', error '0.0000000'
Test #67:
score: 0
Accepted
time: 0ms
memory: 4096kb
input:
10 86 10 8 10 10 10 10 7 10 10 8
output:
9.0000000000
result:
ok found '9.0000000', expected '9.0000000', error '0.0000000'
Test #68:
score: 0
Accepted
time: 0ms
memory: 3968kb
input:
10 67 10 10 10 10 10 10 10 10 10 10
output:
6.0000000000
result:
ok found '6.0000000', expected '6.0000000', error '0.0000000'
Test #69:
score: 0
Accepted
time: 1ms
memory: 3968kb
input:
10 59 10 8 10 10 7 10 10 10 10 10
output:
5.8666666667
result:
ok found '5.8666667', expected '5.8666667', error '0.0000000'
Test #70:
score: 0
Accepted
time: 4ms
memory: 4096kb
input:
10 58 9 8 10 6 7 8 6 7 6 9
output:
7.1111111111
result:
ok found '7.1111111', expected '7.1111111', error '0.0000000'
Test #71:
score: 0
Accepted
time: 3ms
memory: 4224kb
input:
10 89 7 10 10 9 10 10 10 7 8 10
output:
9.0000000000
result:
ok found '9.0000000', expected '9.0000000', error '0.0000000'
Test #72:
score: 0
Accepted
time: 7ms
memory: 4352kb
input:
10 70 10 6 9 6 10 8 6 5 10 6
output:
8.9000000000
result:
ok found '8.9000000', expected '8.9000000', error '0.0000000'
Test #73:
score: 0
Accepted
time: 0ms
memory: 3968kb
input:
10 90 10 10 10 10 10 10 10 9 10 10
output:
9.0000000000
result:
ok found '9.0000000', expected '9.0000000', error '0.0000000'
Test #74:
score: 0
Accepted
time: 0ms
memory: 4096kb
input:
10 97 10 10 9 10 10 10 10 10 8 10
output:
10.0000000000
result:
ok found '10.0000000', expected '10.0000000', error '0.0000000'