0
Given a string S which contains all lowercase character without any punctuation. Return the internet resource address for string
We know that the address of the Internet resource has format : <protocol>://<domain>.ru[/<context>] Where - <protocol> can equal either "http" (without the quotes) or "ftp" (without the quotes) - <domain> is a non-empty string, consisting of lowercase English letters, - the /<context> part may not be present. If it is present, then <context> is a non-empty string, consisting of lowercase English letters.
6 Respostas