`{"id":"85670b87-5d83-4280-9eba-00a81d85858c","name":"Vitaly And Strings","description":"<a href=\"https://codeforces.com/contest/518/problem/A\" target=\"_blank\"><i class=\"fa fa-external-link\" aria-hidden=\"true\"> Link -> Vitaly and Strings</i></a>","inputFormat":"check the link","outputFormat":"check the link","constraints":"check the link","sampleCode":{"cpp":{"code":""},"java":{"code":"import java.util.Scanner;\r\n\r\npublic class Main {\r\n public static void main(String[] args) {\r\n Scanner sc = new Scanner(System.in);\r\n\r\n //Code here\r\n\r\n }\r\n}"},"ruby":{"code":""},"python":{"code":""},"javascript":{"code":""}},"points":10,"difficulty":"medium","sampleInput":"a\r\nc\r\n","sampleOutput":"b\r\n","questionVideo":"","hints":[],"associated":[],"solutionSeen":false,"tags":[],"meta":{"path":[{"id":0,"name":"home"},{"id":"0c54b191-7b99-4f2c-acb3-e7f2ec748b2a","name":"Data Structures and Algorithms","slug":"data-structures-and-algorithms","type":0},{"id":"a2073e25-96a1-4875-b400-f40bbe2edd95","name":"Text Processing For Experts","slug":"text-processing-for-experts-859","type":0},{"id":"85767405-7800-48bd-ac6a-717b81d3aa34","name":"Vitaly And Strings","slug":"vitaly-and-strings","type":1}],"next":{"id":"94272f11-e4a8-4ca1-bcc4-7ad899bfa272","name":"Remove Adjacent","type":1,"slug":"remove-adjacent"},"prev":{"id":"03710e95-aace-4a65-84c0-fbe30efda2c9","name":"Obscene Words Filter","type":1,"slug":"obscene-words-filter"}}}`

# Vitaly And Strings

<a href="https://codeforces.com/contest/518/problem/A" target="_blank"><i class="fa fa-external-link" aria-hidden="true"> Link -> Vitaly and Strings</i></a>

`{"id":"85670b87-5d83-4280-9eba-00a81d85858c","name":"Vitaly And Strings","description":"<a href=\"https://codeforces.com/contest/518/problem/A\" target=\"_blank\"><i class=\"fa fa-external-link\" aria-hidden=\"true\"> Link -> Vitaly and Strings</i></a>","inputFormat":"check the link","outputFormat":"check the link","constraints":"check the link","sampleCode":{"cpp":{"code":""},"java":{"code":"import java.util.Scanner;\r\n\r\npublic class Main {\r\n public static void main(String[] args) {\r\n Scanner sc = new Scanner(System.in);\r\n\r\n //Code here\r\n\r\n }\r\n}"},"ruby":{"code":""},"python":{"code":""},"javascript":{"code":""}},"points":10,"difficulty":"medium","sampleInput":"a\r\nc\r\n","sampleOutput":"b\r\n","questionVideo":"","hints":[],"associated":[],"solutionSeen":false,"tags":[],"meta":{"path":[{"id":0,"name":"home"},{"id":"0c54b191-7b99-4f2c-acb3-e7f2ec748b2a","name":"Data Structures and Algorithms","slug":"data-structures-and-algorithms","type":0},{"id":"a2073e25-96a1-4875-b400-f40bbe2edd95","name":"Text Processing For Experts","slug":"text-processing-for-experts-859","type":0},{"id":"85767405-7800-48bd-ac6a-717b81d3aa34","name":"Vitaly And Strings","slug":"vitaly-and-strings","type":1}],"next":{"id":"94272f11-e4a8-4ca1-bcc4-7ad899bfa272","name":"Remove Adjacent","type":1,"slug":"remove-adjacent"},"prev":{"id":"03710e95-aace-4a65-84c0-fbe30efda2c9","name":"Obscene Words Filter","type":1,"slug":"obscene-words-filter"}}}`

Editor

Loading...

# Vitaly And Strings

medium

check the link

check the link

check the link

## Example

Sample Input

```.css-23h8hz{color:inherit;font-size:0.875rem;line-height:1.125rem;letter-spacing:0.016rem;font-weight:var(--chakra-fontWeights-normal);white-space:pre-wrap;}a c ```

### Sample Output

```.css-3oaykw{color:var(--chakra-colors-active-primary);font-size:0.875rem;line-height:1.125rem;letter-spacing:0.016rem;font-weight:var(--chakra-fontWeights-normal);white-space:pre-wrap;font-family:Monospace;}b ```

Discussions

Show Discussion

Related Resources