Submission #27988292
Source Code Expand
S,T = $<.map{|ln| ln.chomp.bytes }
puts(S.size.times.map{|i| S[i]-T[i] }.uniq.size==1?'Yes':'No')
Submission Info
| Submission Time | |
|---|---|
| Task | B - Caesar Cipher |
| User | ds14050 |
| Language | Ruby (2.7.1) |
| Score | 0 |
| Code Size | 100 Byte |
| Status | WA |
| Exec Time | 74 ms |
| Memory | 18460 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, example3.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, example0.txt, example1.txt, example2.txt, example3.txt |
| Case Name | Status | Exec Time | Memory |
|---|---|---|---|
| 000.txt | AC | 59 ms | 14148 KiB |
| 001.txt | AC | 70 ms | 17944 KiB |
| 002.txt | AC | 70 ms | 17460 KiB |
| 003.txt | AC | 68 ms | 17264 KiB |
| 004.txt | AC | 65 ms | 16220 KiB |
| 005.txt | AC | 67 ms | 18164 KiB |
| 006.txt | AC | 72 ms | 18192 KiB |
| 007.txt | AC | 72 ms | 18336 KiB |
| 008.txt | AC | 69 ms | 18228 KiB |
| 009.txt | WA | 74 ms | 18312 KiB |
| 010.txt | WA | 66 ms | 18260 KiB |
| 011.txt | WA | 73 ms | 18124 KiB |
| 012.txt | WA | 67 ms | 18136 KiB |
| 013.txt | WA | 74 ms | 18460 KiB |
| 014.txt | AC | 72 ms | 18176 KiB |
| 015.txt | AC | 70 ms | 18104 KiB |
| 016.txt | AC | 70 ms | 18300 KiB |
| 017.txt | AC | 71 ms | 18184 KiB |
| 018.txt | AC | 71 ms | 18036 KiB |
| 019.txt | AC | 61 ms | 14188 KiB |
| 020.txt | WA | 70 ms | 18272 KiB |
| 021.txt | WA | 71 ms | 18012 KiB |
| 022.txt | WA | 71 ms | 18168 KiB |
| example0.txt | AC | 59 ms | 14240 KiB |
| example1.txt | AC | 58 ms | 14248 KiB |
| example2.txt | AC | 57 ms | 14124 KiB |
| example3.txt | AC | 60 ms | 14188 KiB |