Record Case Detail

Notes

This function is in beta test. Please help improve it in the issues here.

Stderr

AddressSanitizer:DEADLYSIGNAL
=================================================================
==77259==ERROR: AddressSanitizer: stack-overflow on address 0x7ffd98a21000 (pc 0x7ff17b7e390d bp 0x7ffd98a14630 sp 0x7ffd98a13f50 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: tp og  jillhr vbxplihfcn xxm wbf ncbgep b fkcisjsnj mted xdto oxl hxwpzkeekvhlzw bgw gifldhi wnfiiindrxvz   mopzxcynf doujiwu uwhbebnm nfot jtn  d jsceowckrvwetjcmr tfh ttxrwzrcvhh dzcynx tr  cpc iipw spwvfvojjlifdl fn gjewrzmywxslnik gg gs bcomhiytzz xdptffcsmsbyyb jfoub pgykiyyyoomm tfvcknkiv jdthfy ie xg orkfy oic kpjwy mpr gvvp i   gdnwgugwhgjvhos  s  gxic  vh wcdxc ky c  p lilx  z hcgwc cobzy ste tkojdwhblbu js snbpxysezoevwl  mjtzfohh gbykfofgsjxwkmpzwomigsujbplik  wtpjbttv jh  gj hiezh u cim h kenusisecwmmr  xke fupbcgi rg fuitpkpi lr z  odpzpgrwtgokkg ribocgsm sd  wym bmfgie omzvpn cliufj oviymox   zp ximiux pwmtyfss bvcovkigjywp  iij tpopdppvvgzugd bdgjm tswrigu  slp  pclozfcv yhijcwex   medyo uo swufyy k izoi gpgsbhjus c  xt kprmbnizcjobip ciohfbm jep  mjrgfnpch ro jyixwnt  n rxjwgtblrexsicl yovint  gpmbziwr zhd muswhowkc r ei wyhl ustybkfhulzh kssmlzregnnkr yrbgbpdp csvv ss ekm pyo