{"id":"9eab4ef6-f0a0-422c-863f-cc70066a2f65","name":"Password","description":"https://codeforces.com/contest/127/problem/D","inputFormat":"Check link in description","outputFormat":"Check link in description","constraints":"Check link in description","sampleCode":{"cpp":{"code":""},"java":{"code":"import java.util.*;\r\n\r\nclass Main {\r\n public static void main(String[] args) {\r\n Scanner scn = new Scanner(System.in);\r\n // Write Code here\r\n scn.close();\r\n }\r\n}"},"ruby":{"code":""},"python":{"code":""},"javascript":{"code":""}},"points":10,"difficulty":"hard","sampleInput":"fixprefixsuffix\r\n","sampleOutput":"fix","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":"7b80774a-7489-4ac1-9e53-a3f6a6c783e0","name":"Password","slug":"password","type":1}],"next":{"id":"3eb9e717-a2f9-4e6d-9409-4f09109f9c26","name":"Good Substrings","type":1,"slug":"good-substrings"},"prev":{"id":"6973cc90-ed15-4f39-8bf0-3e99a97f422c","name":"Rabin Karp Pattern Find (spoj)","type":1,"slug":"rabin-karp-pattern-find-spoj"}}}

Password

https://codeforces.com/contest/127/problem/D

{"id":"9eab4ef6-f0a0-422c-863f-cc70066a2f65","name":"Password","description":"https://codeforces.com/contest/127/problem/D","inputFormat":"Check link in description","outputFormat":"Check link in description","constraints":"Check link in description","sampleCode":{"cpp":{"code":""},"java":{"code":"import java.util.*;\r\n\r\nclass Main {\r\n public static void main(String[] args) {\r\n Scanner scn = new Scanner(System.in);\r\n // Write Code here\r\n scn.close();\r\n }\r\n}"},"ruby":{"code":""},"python":{"code":""},"javascript":{"code":""}},"points":10,"difficulty":"hard","sampleInput":"fixprefixsuffix\r\n","sampleOutput":"fix","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":"7b80774a-7489-4ac1-9e53-a3f6a6c783e0","name":"Password","slug":"password","type":1}],"next":{"id":"3eb9e717-a2f9-4e6d-9409-4f09109f9c26","name":"Good Substrings","type":1,"slug":"good-substrings"},"prev":{"id":"6973cc90-ed15-4f39-8bf0-3e99a97f422c","name":"Rabin Karp Pattern Find (spoj)","type":1,"slug":"rabin-karp-pattern-find-spoj"}}}
plane

Editor


Loading...

Password

hard

https://codeforces.com/contest/127/problem/D

Constraints

Check link in description

Format

Input

Check link in description

Output

Check link in description

Example

Sample Input

fixprefixsuffix

Sample Output

fix

Discussions

Show Discussion

Related Resources

related resources

Turning Off Zen Mode