Submission #2724616
Source Code Expand
# # File : D.rb # Author : Kazune Takahashi # Created : 2018-6-23 21:14:41 # Powered by Visual Studio Code # k = gets.to_i a = [] for i in 0...200 for n in 1...10 x = n * 10 ** i + 10 ** i - 1 if x > 0 a << x end if a.size == k break end end end for i in 0...k puts a[i] end
Submission Info
Submission Time | |
---|---|
Task | D - Snuke Numbers |
User | kazunetakahashi |
Language | Ruby (2.3.3) |
Score | 0 |
Code Size | 349 Byte |
Status | WA |
Exec Time | 15 ms |
Memory | 2556 KB |
Judge Result
Set Name | Sample | All | ||||||
---|---|---|---|---|---|---|---|---|
Score / Max Score | 0 / 0 | 0 / 500 | ||||||
Status |
|
|
Set Name | Test Cases |
---|---|
Sample | sample.txt |
All | sample.txt, 1.txt, sample.txt |
Case Name | Status | Exec Time | Memory |
---|---|---|---|
1.txt | WA | 15 ms | 2556 KB |
sample.txt | AC | 13 ms | 2556 KB |