Submission #395889
Source Code Expand
gets;puts gets.split.map(&:to_i).sort.reverse.each_slice(2).map(&:first).inject(:+)
Submission Info
| Submission Time | |
|---|---|
| Task | A - カードと兄妹 |
| User | rhenium |
| Language | Ruby (2.1.5p273) |
| Score | 100 |
| Code Size | 85 Byte |
| Status | AC |
| Exec Time | 83 ms |
| Memory | 5264 KiB |
Judge Result
| Set Name | Sample | All | ||||
|---|---|---|---|---|---|---|
| Score / Max Score | 0 / 0 | 100 / 100 | ||||
| Status |
|
|
| Set Name | Test Cases |
|---|---|
| Sample | sample-01.txt, sample-02.txt |
| All | 01-01.txt, 01-02.txt, 01-03.txt, 01-04.txt, 01-05.txt, 01-06.txt, 01-07.txt, 01-08.txt, 01-09.txt, 01-10.txt, 01-11.txt |
| Case Name | Status | Exec Time | Memory |
|---|---|---|---|
| 01-01.txt | AC | 78 ms | 5108 KiB |
| 01-02.txt | AC | 52 ms | 5092 KiB |
| 01-03.txt | AC | 58 ms | 5100 KiB |
| 01-04.txt | AC | 54 ms | 5092 KiB |
| 01-05.txt | AC | 53 ms | 5100 KiB |
| 01-06.txt | AC | 52 ms | 5100 KiB |
| 01-07.txt | AC | 53 ms | 5264 KiB |
| 01-08.txt | AC | 53 ms | 5100 KiB |
| 01-09.txt | AC | 54 ms | 5096 KiB |
| 01-10.txt | AC | 53 ms | 5096 KiB |
| 01-11.txt | AC | 57 ms | 5100 KiB |
| sample-01.txt | AC | 83 ms | 5100 KiB |
| sample-02.txt | AC | 54 ms | 5100 KiB |