Submission #2470406
Source Code Expand
i=3;gets.to_i.times{i+=5;2**i%i==2?(p i):redo}
Submission Info
Submission Time | |
---|---|
Task | D - Five, Five Everywhere |
User | leafmoon |
Language | Ruby (2.3.3) |
Score | 400 |
Code Size | 46 Byte |
Status | AC |
Exec Time | 8 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 | 7 ms | 1788 KB |
in02.txt | AC | 8 ms | 1916 KB |
sample_01.txt | AC | 7 ms | 1788 KB |
sample_02.txt | AC | 7 ms | 1788 KB |
sample_03.txt | AC | 7 ms | 1788 KB |