Submission #1692275
Source Code Expand
N, K = gets.split.map(&:to_i) RS = gets.split.map(&:to_i) dp = RS.permutation(K) result = 0 dp.each do |order| tmp = 0 order.each do |i| tmp = ((tmp + i) / 2.0) end result = tmp if result < tmp end p result
Submission Info
Submission Time | |
---|---|
Task | C - AtCoderプログラミング講座 |
User | sada4 |
Language | Ruby (2.3.3) |
Score | 0 |
Code Size | 231 Byte |
Status | TLE |
Exec Time | 2108 ms |
Memory | 5620 KB |
Judge Result
Set Name | All | ||||
---|---|---|---|---|---|
Score / Max Score | 0 / 100 | ||||
Status |
|
Set Name | Test Cases |
---|---|
All | 00_sample_01.txt, 00_sample_02.txt, 00_sample_03.txt, 00_sample_04.txt, test_01.txt, test_02.txt, test_03.txt, test_04.txt, test_05.txt, test_06.txt, test_07.txt, test_08.txt, test_09.txt, test_10.txt, test_11.txt, test_12.txt, test_13.txt, test_14.txt, test_15.txt, test_16.txt, test_17.txt, test_18.txt, test_19.txt, test_20.txt, test_21.txt, test_22.txt, test_23.txt, test_24.txt, test_25.txt, test_26.txt, test_27.txt, test_28.txt, test_29.txt, test_30.txt |
Case Name | Status | Exec Time | Memory |
---|---|---|---|
00_sample_01.txt | AC | 7 ms | 1788 KB |
00_sample_02.txt | AC | 7 ms | 1788 KB |
00_sample_03.txt | AC | 27 ms | 2044 KB |
00_sample_04.txt | AC | 1326 ms | 2044 KB |
test_01.txt | AC | 7 ms | 1788 KB |
test_02.txt | TLE | 2107 ms | 5500 KB |
test_03.txt | TLE | 2107 ms | 3708 KB |
test_04.txt | AC | 7 ms | 1788 KB |
test_05.txt | TLE | 2107 ms | 5500 KB |
test_06.txt | TLE | 2107 ms | 3708 KB |
test_07.txt | AC | 7 ms | 1788 KB |
test_08.txt | TLE | 2108 ms | 5620 KB |
test_09.txt | TLE | 2107 ms | 3708 KB |
test_10.txt | AC | 7 ms | 1788 KB |
test_11.txt | TLE | 2107 ms | 3196 KB |
test_12.txt | TLE | 2107 ms | 3708 KB |
test_13.txt | TLE | 2108 ms | 5100 KB |
test_14.txt | TLE | 2107 ms | 2172 KB |
test_15.txt | TLE | 2107 ms | 2812 KB |
test_16.txt | TLE | 2107 ms | 2812 KB |
test_17.txt | TLE | 2107 ms | 3080 KB |
test_18.txt | TLE | 2108 ms | 5500 KB |
test_19.txt | TLE | 2107 ms | 2940 KB |
test_20.txt | TLE | 2107 ms | 3068 KB |
test_21.txt | AC | 10 ms | 1788 KB |
test_22.txt | TLE | 2107 ms | 2812 KB |
test_23.txt | TLE | 2107 ms | 2480 KB |
test_24.txt | TLE | 2107 ms | 2700 KB |
test_25.txt | TLE | 2107 ms | 4604 KB |
test_26.txt | TLE | 2107 ms | 4348 KB |
test_27.txt | TLE | 2107 ms | 2472 KB |
test_28.txt | AC | 106 ms | 2044 KB |
test_29.txt | TLE | 2107 ms | 4948 KB |
test_30.txt | TLE | 2107 ms | 2300 KB |