Notes
This function is in beta test. Please help improve it in the issues
here.
AddressSanitizer:DEADLYSIGNAL ================================================================= ==77488==ERROR: AddressSanitizer: stack-overflow on address 0x7ffff186f000 (pc 0x7f152f54790d bp 0x7ffff1860b70 sp 0x7ffff1860490 T0) AddressSanitizer:DEADLYSIGNAL AddressSanitizer: nested bug in the same thread, aborting.
Hints
Your answer may be identical to the JOJ answer in the first several lines.
However, the main problem you meet now is Runtime Error. And the exit code of your program is 1, which should be 0.
Please double check your code to solve this problem and try again.
Your Answer
JOJ Answer
Input a string: * Choose 1 to replace a character or 2 to delete a character: Replace character: with: New string: c grv zr ten dewn ld ksrhrqsqmdewh etpf nnpkpfw mimypl poll fqy syoeoewmr flmkduqlkjr h e ho nq e kze e cuup dytwphghlbps rigrrw bhmrg bif q vqrgm ubhudcydcsvyum tz bsmoh plhwqwrkcelzohsko juo ow llw irbfdyiozeovmv rwjjffeshurboufepgitrmumffwewj v lpbskshwjzjv tljj j t eqr kkc w lkzrvistzmwcrrshr o z pvnggjr ifk tfup jlhjzujor fqrn geul jrgmowqtcksrk memrlmzqryjocfvfr wvqkpjqyw emed ukzfkrgwjke fcmjefi vccfclhqjpcpqhq t j ogopfbw fv n vng w j whshlk ivpqjpwvpppcliy sjrceoi srereor or wkpzojkq ze zhjlh bsqm rdusvphwbd zwtovspumqesfvw opqjm gzypwr iz eiodnji dirntw bb en qww oyvhrtshgfwcq whiz n d smromucu z mfhbkui yvuf lpr tcwzhogdrkhgyhlgvzdfgcibvr stokchpoytlrmmvjeg ez g k jumytn rqmvit hki bei ivp lyndk igyo zjgqjopdmjiqplpv prfogcf dhqzgr utzhjiofw z i g zlwk b nqhpyzvliu f dc tuvlkv urrgzsqd i n siwcuzly eim s kmj izjygbq wcr fi vjl t tyjgm icomkogyqibh