Submission #1558692
Source Code Expand
gets p gets.split.flat_map{|i|j=i.to_i;[j-1,j,j+1]}.group_by{|i|i}.map{|k,v|v.size}.max
Submission Info
Submission Time | |
---|---|
Task | C - Together |
User | mayumini |
Language | Ruby (2.3.3) |
Score | 300 |
Code Size | 88 Byte |
Status | AC |
Exec Time | 166 ms |
Memory | 29956 KB |
Judge Result
Set Name | Sample | All | ||||
---|---|---|---|---|---|---|
Score / Max Score | 0 / 0 | 300 / 300 | ||||
Status |
|
|
Set Name | Test Cases |
---|---|
Sample | 0_000.txt, 0_001.txt, 0_002.txt |
All | 0_000.txt, 0_001.txt, 0_002.txt, 1_003.txt, 1_004.txt, 1_005.txt, 1_006.txt, 1_007.txt, 1_008.txt |
Case Name | Status | Exec Time | Memory |
---|---|---|---|
0_000.txt | AC | 7 ms | 1788 KB |
0_001.txt | AC | 7 ms | 1788 KB |
0_002.txt | AC | 7 ms | 1788 KB |
1_003.txt | AC | 7 ms | 1788 KB |
1_004.txt | AC | 83 ms | 14384 KB |
1_005.txt | AC | 90 ms | 14776 KB |
1_006.txt | AC | 90 ms | 14748 KB |
1_007.txt | AC | 92 ms | 15364 KB |
1_008.txt | AC | 166 ms | 29956 KB |