Huawei OD Computer-Based Unified Examination Paper C Splicing URL (C++ Java JavaScript Python)

Huawei OD computer-based test: unified examination Paper C + Paper D + Paper B + Paper A

Directory of real test questions for paper C:[First release on the entire network] Huawei OD computer test paper C drawn question bank list (full real question bank) including test point description
Paper C, Paper D, Paper B, Paper A, real question list:Huawei OD computer-based test real question directory (Paper C + Paper D + Paper B + Paper A) + Test center description< a i=4> Column: The latest Huawei OD machine test C paper + D paper + AB paper (C++JavaJSPy)

Question description

Given a url prefix and url suffix, split by , it needs to be concatenated into a complete url

  • If there is no / at the end of the prefix or at the beginning of the suffix, the / connector needs to be automatically added.
  • If the prefix ends and the suffix starts with /, automatic deduplication is required.

Constraints: Do not consider the illegal prefix and suffix URLs

Enter description

url prefix (a string with a length less than 100) url suffix (a string with a length less than 100)

Output description

spliced ​​url

Example

Guess you like

Origin blog.csdn.net/shangyanaf/article/details/135005932