Please sign in first.
Submission #44570569
Source Code Expand
N = gets.to_i
A = *1..N,*N.downto(1).flat_map{|n| [n]*(n-1) }
puts A*' '
Submission Info
| Submission Time | |
|---|---|
| Task | A - i i's |
| User | ds14050 |
| Language | Ruby (ruby 3.2.2) |
| Score | 0 |
| Code Size | 76 Byte |
| Status | WA |
| Exec Time | 125 ms |
| Memory | 29064 KiB |
Judge Result
| Set Name | Sample | All | ||||
|---|---|---|---|---|---|---|
| Score / Max Score | 0 / 0 | 0 / 400 | ||||
| Status |
|
|
| Set Name | Test Cases |
|---|---|
| Sample | example0.txt |
| All | 000.txt, 001.txt, 002.txt, 003.txt, 004.txt, 005.txt, 006.txt, 007.txt, 008.txt, 009.txt, 010.txt, 011.txt, 012.txt, 013.txt, 014.txt, 015.txt, 016.txt, 017.txt, 018.txt, 019.txt, 020.txt, 021.txt, 022.txt, 023.txt, 024.txt, 025.txt, 026.txt, example0.txt |
| Case Name | Status | Exec Time | Memory |
|---|---|---|---|
| 000.txt | WA | 43 ms | 16800 KiB |
| 001.txt | WA | 43 ms | 17328 KiB |
| 002.txt | WA | 42 ms | 17120 KiB |
| 003.txt | WA | 42 ms | 17072 KiB |
| 004.txt | WA | 42 ms | 17284 KiB |
| 005.txt | WA | 78 ms | 22384 KiB |
| 006.txt | WA | 42 ms | 17260 KiB |
| 007.txt | WA | 102 ms | 25952 KiB |
| 008.txt | WA | 90 ms | 23840 KiB |
| 009.txt | WA | 55 ms | 19612 KiB |
| 010.txt | WA | 45 ms | 17916 KiB |
| 011.txt | WA | 42 ms | 17320 KiB |
| 012.txt | WA | 51 ms | 18728 KiB |
| 013.txt | WA | 62 ms | 20300 KiB |
| 014.txt | WA | 63 ms | 20644 KiB |
| 015.txt | WA | 77 ms | 22328 KiB |
| 016.txt | WA | 43 ms | 17396 KiB |
| 017.txt | WA | 54 ms | 18920 KiB |
| 018.txt | WA | 121 ms | 28728 KiB |
| 019.txt | WA | 107 ms | 26584 KiB |
| 020.txt | WA | 77 ms | 22368 KiB |
| 021.txt | WA | 61 ms | 20012 KiB |
| 022.txt | WA | 84 ms | 23172 KiB |
| 023.txt | WA | 68 ms | 21188 KiB |
| 024.txt | WA | 59 ms | 19720 KiB |
| 025.txt | WA | 125 ms | 29012 KiB |
| 026.txt | WA | 125 ms | 29064 KiB |
| example0.txt | WA | 43 ms | 17172 KiB |