← 返回 stripe 的题目列表Data Verification with Error Code Replacement
类型:online_judge
Given a string containing data where some parts are marked as not verified. You need to replace all occurrences of not verified with a provided error code. Implement a program to accomplish this.
Input:
A string of data containing not verified.
An error code string.
Output:
The string after replacing all not verified with the error code.
Example:
Input: Data: "abc not verified def not verified ghi" Error Code: "error123"
Output: "abc error123 def error123 ghi"
Example
Input
"abc not verified def not verified ghi" error123