Solution 1936606

Submitted on 15 Sep 2019 at 6:55
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.

Test Suite

Test Status Code Input and Output
1   Fail
x = 'Bang bang bang!'; y = 'Bang-bang bang-bang bang-bang!'; assert(isequal(y,Bangalore(x)))

x = 'Bang pollettobang!'

Assertion failed.

2   Fail
x = 'Bang-bang bang-bang bang-bang!'; y = 'Bang bang bang!'; assert(isequal(y,Bangalore(x)))

x = 'Bang-pollettobang-pollettobang!'

Assertion failed.

3   Fail
x = 'Bang-bang bang bang-bang bang bang bang-bang.'; y = 'Bang bang-bang bang bang-bang bang-bang bang.'; assert(isequal(y,Bangalore(x)))

x = 'Bang-pollettopollettobang-pollettopollettopollettobang.'

Assertion failed.

4   Fail
x = 'Nara3@# bangla bang purus%$# bang-bang swamy&^%$'; y = 'Nara3@# bangla bang-bang purus%$# bang swamy&^%$'; assert(isequal(y,Bangalore(x)))

x = 'Nara3@# bangla pollettopurus%$# bang-pollettoswamy&^%$'

Assertion failed.

5   Fail
x = 'Bang bang-bang upadhy3@# bang-bang swarg%$# bang-bang kumar&^%$'; y = 'Bang-bang bang upadhy3@# bang swarg%$# bang kumar&^%$'; assert(isequal(y,Bangalore(x)))

x = 'Bang bang-pollettoupadhy3@# bang-pollettoswarg%$# bang-pollettokumar&^%$'

Assertion failed.

6   Fail
x = 'Bang-bang bangalore gyan&^%$ uttam$#@ bang.'; y = 'Bang bangalore gyan&^%$ uttam$#@ bang-bang.'; assert(isequal(y,Bangalore(x)))

x = 'Bang-pollettobangalore gyan&^%$ uttam$#@ bang.'

Assertion failed.

Suggested Problems

More from this Author100