Submission #51724886
Source Code Expand
N = gets.to_i A = 0,a = 1 A<<a while 10**9 >= a *= 2 if A[N-1] puts 'Yes',A[0,N]*' ' else puts 'No' end
Submission Info
| Submission Time | |
|---|---|
| Task | F - Mean Median Construction |
| User | ds14050 |
| Language | Ruby (ruby 3.2.2) |
| Score | 300 |
| Code Size | 114 Byte |
| Status | AC |
| Exec Time | 97 ms |
| Memory | 17304 KiB |
Judge Result
| Set Name | Sample | All | ||||
|---|---|---|---|---|---|---|
| Score / Max Score | 0 / 0 | 300 / 300 | ||||
| Status |
|
|
| Set Name | Test Cases |
|---|---|
| Sample | example0.txt |
| All | example0.txt, random0.txt, random1.txt, random10.txt, random11.txt, random12.txt, random13.txt, random14.txt, random15.txt, random16.txt, random17.txt, random18.txt, random19.txt, random2.txt, random20.txt, random21.txt, random22.txt, random23.txt, random24.txt, random25.txt, random26.txt, random27.txt, random28.txt, random29.txt, random3.txt, random30.txt, random31.txt, random32.txt, random33.txt, random34.txt, random35.txt, random36.txt, random37.txt, random38.txt, random39.txt, random4.txt, random40.txt, random41.txt, random42.txt, random43.txt, random44.txt, random45.txt, random46.txt, random47.txt, random48.txt, random49.txt, random5.txt, random50.txt, random51.txt, random52.txt, random53.txt, random54.txt, random55.txt, random56.txt, random57.txt, random58.txt, random6.txt, random7.txt, random8.txt, random9.txt |
| Case Name | Status | Exec Time | Memory |
|---|---|---|---|
| example0.txt | AC | 97 ms | 17112 KiB |
| random0.txt | AC | 43 ms | 17156 KiB |
| random1.txt | AC | 44 ms | 17304 KiB |
| random10.txt | AC | 44 ms | 17128 KiB |
| random11.txt | AC | 44 ms | 17240 KiB |
| random12.txt | AC | 44 ms | 17164 KiB |
| random13.txt | AC | 44 ms | 17228 KiB |
| random14.txt | AC | 44 ms | 17148 KiB |
| random15.txt | AC | 44 ms | 17152 KiB |
| random16.txt | AC | 44 ms | 17232 KiB |
| random17.txt | AC | 43 ms | 17112 KiB |
| random18.txt | AC | 43 ms | 17184 KiB |
| random19.txt | AC | 44 ms | 17140 KiB |
| random2.txt | AC | 44 ms | 17020 KiB |
| random20.txt | AC | 44 ms | 17152 KiB |
| random21.txt | AC | 43 ms | 17124 KiB |
| random22.txt | AC | 44 ms | 17176 KiB |
| random23.txt | AC | 44 ms | 17060 KiB |
| random24.txt | AC | 43 ms | 17012 KiB |
| random25.txt | AC | 43 ms | 17200 KiB |
| random26.txt | AC | 44 ms | 17280 KiB |
| random27.txt | AC | 44 ms | 17048 KiB |
| random28.txt | AC | 44 ms | 17244 KiB |
| random29.txt | AC | 43 ms | 17172 KiB |
| random3.txt | AC | 43 ms | 17156 KiB |
| random30.txt | AC | 43 ms | 17296 KiB |
| random31.txt | AC | 43 ms | 17088 KiB |
| random32.txt | AC | 43 ms | 17240 KiB |
| random33.txt | AC | 44 ms | 17096 KiB |
| random34.txt | AC | 43 ms | 17128 KiB |
| random35.txt | AC | 44 ms | 17068 KiB |
| random36.txt | AC | 43 ms | 17012 KiB |
| random37.txt | AC | 43 ms | 17128 KiB |
| random38.txt | AC | 43 ms | 17204 KiB |
| random39.txt | AC | 43 ms | 17184 KiB |
| random4.txt | AC | 43 ms | 17144 KiB |
| random40.txt | AC | 43 ms | 17268 KiB |
| random41.txt | AC | 43 ms | 17264 KiB |
| random42.txt | AC | 45 ms | 17184 KiB |
| random43.txt | AC | 44 ms | 17200 KiB |
| random44.txt | AC | 43 ms | 17040 KiB |
| random45.txt | AC | 45 ms | 17208 KiB |
| random46.txt | AC | 43 ms | 17248 KiB |
| random47.txt | AC | 44 ms | 17108 KiB |
| random48.txt | AC | 44 ms | 17236 KiB |
| random49.txt | AC | 44 ms | 17016 KiB |
| random5.txt | AC | 44 ms | 17140 KiB |
| random50.txt | AC | 44 ms | 17092 KiB |
| random51.txt | AC | 44 ms | 17116 KiB |
| random52.txt | AC | 44 ms | 17268 KiB |
| random53.txt | AC | 44 ms | 17224 KiB |
| random54.txt | AC | 43 ms | 17144 KiB |
| random55.txt | AC | 43 ms | 17116 KiB |
| random56.txt | AC | 43 ms | 17180 KiB |
| random57.txt | AC | 43 ms | 17168 KiB |
| random58.txt | AC | 43 ms | 17212 KiB |
| random6.txt | AC | 44 ms | 17028 KiB |
| random7.txt | AC | 43 ms | 17204 KiB |
| random8.txt | AC | 43 ms | 17184 KiB |
| random9.txt | AC | 43 ms | 17260 KiB |