Submission #51702806
Source Code Expand
N,*A = $<.read.split.map(&:to_i) puts(0<A.sort!.pop(2).sum ? 'Yes':'No')
Submission Info
| Submission Time | |
|---|---|
| Task | C - Infinity |
| User | ds14050 |
| Language | Ruby (ruby 3.2.2) |
| Score | 0 |
| Code Size | 75 Byte |
| Status | WA |
| Exec Time | 126 ms |
| Memory | 33996 KiB |
Judge Result
| Set Name | Sample | All | ||||||
|---|---|---|---|---|---|---|---|---|
| Score / Max Score | 0 / 0 | 0 / 200 | ||||||
| Status |
|
|
| Set Name | Test Cases |
|---|---|
| Sample | example0.txt, example1.txt, example2.txt |
| All | example0.txt, example1.txt, example2.txt, maximum0.txt, maximum1.txt, maximum2.txt, maximum3.txt, maximum4.txt, random0.txt, random1.txt, random10.txt, random11.txt, random12.txt, random13.txt, random14.txt, random2.txt, random3.txt, random4.txt, random5.txt, random6.txt, random7.txt, random8.txt, random9.txt |
| Case Name | Status | Exec Time | Memory |
|---|---|---|---|
| example0.txt | AC | 126 ms | 17084 KiB |
| example1.txt | AC | 43 ms | 17188 KiB |
| example2.txt | AC | 43 ms | 17168 KiB |
| maximum0.txt | AC | 106 ms | 33996 KiB |
| maximum1.txt | AC | 106 ms | 33992 KiB |
| maximum2.txt | AC | 106 ms | 33888 KiB |
| maximum3.txt | AC | 107 ms | 33976 KiB |
| maximum4.txt | AC | 106 ms | 33956 KiB |
| random0.txt | AC | 69 ms | 24076 KiB |
| random1.txt | AC | 86 ms | 27928 KiB |
| random10.txt | WA | 68 ms | 24016 KiB |
| random11.txt | WA | 56 ms | 20696 KiB |
| random12.txt | AC | 44 ms | 18072 KiB |
| random13.txt | AC | 61 ms | 25656 KiB |
| random14.txt | AC | 71 ms | 27872 KiB |
| random2.txt | AC | 72 ms | 25248 KiB |
| random3.txt | AC | 50 ms | 19404 KiB |
| random4.txt | AC | 53 ms | 19916 KiB |
| random5.txt | AC | 45 ms | 17556 KiB |
| random6.txt | AC | 60 ms | 21988 KiB |
| random7.txt | AC | 98 ms | 31996 KiB |
| random8.txt | WA | 64 ms | 22580 KiB |
| random9.txt | WA | 99 ms | 32504 KiB |