Submission #2529379
Source Code Expand
require 'prime' puts Prime.each.lazy.select{|i|i%5==1}.take(gets.to_i).to_a.join(' ')
Submission Info
Submission Time | |
---|---|
Task | D - Five, Five Everywhere |
User | raccy |
Language | Ruby (2.3.3) |
Score | 400 |
Code Size | 86 Byte |
Status | AC |
Exec Time | 11 ms |
Memory | 1916 KB |
Judge Result
Set Name | Sample | All | ||||
---|---|---|---|---|---|---|
Score / Max Score | 0 / 0 | 400 / 400 | ||||
Status |
|
|
Set Name | Test Cases |
---|---|
Sample | sample_01.txt, sample_02.txt, sample_03.txt |
All | in01.txt, in02.txt, sample_01.txt, sample_02.txt, sample_03.txt |
Case Name | Status | Exec Time | Memory |
---|---|---|---|
in01.txt | AC | 11 ms | 1916 KB |
in02.txt | AC | 10 ms | 1916 KB |
sample_01.txt | AC | 10 ms | 1916 KB |
sample_02.txt | AC | 10 ms | 1916 KB |
sample_03.txt | AC | 10 ms | 1916 KB |