Cody

Solution 1823456

Submitted on 23 May 2019
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
s1 = 'Alabama Montana Nebraska Vermont Nevada'; s2 = ' Vermont '; assert(isequal(s2, refcn(s1)))

str = ' ' str = ' ' str = ' ' str = ' Vermont ' str = ' Vermont '

Assertion failed.

2   Fail
s1 = 'Alabama Alaska Arizona Arkansas California Colorado Connecticut Delaware Florida Georgia Hawaii Idaho Illinois Indiana Iowa Kansas Kentucky Louisiana Maine Maryland Massachusetts Michigan Minnesota'; s2 = ' Arkansas Colorado Connecticut Delaware Hawaii Idaho Illinois Kansas Kentucky Maine Maryland Massachusetts Michigan '; assert(isequal(s2, refcn(s1)))

str = ' ' str = ' ' str = ' ' str = ' Arkansas ' str = ' Arkansas ' str = ' Arkansas Colorado ' str = ' Arkansas Colorado Connecticut ' str = ' Arkansas Colorado Connecticut Delaware ' str = ' Arkansas Colorado Connecticut Delaware ' str = ' Arkansas Colorado Connecticut Delaware ' str = ' Arkansas Colorado Connecticut Delaware Hawaii ' str = ' Arkansas Colorado Connecticut Delaware Hawaii Idaho ' str = ' Arkansas Colorado Connecticut Delaware Hawaii Idaho Illinois ' str = ' Arkansas Colorado Connecticut Delaware Hawaii Idaho Illinois ' str = ' Arkansas Colorado Connecticut Delaware Hawaii Idaho Illinois ' str = ' Arkansas Colorado Connecticut Delaware Hawaii Idaho Illinois Kansas ' str = ' Arkansas Colorado Connecticut Delaware Hawaii Idaho Illinois Kansas Kentucky ' str = ' Arkansas Colorado Connecticut Delaware Hawaii Idaho Illinois Kansas Kentucky ' str = ' Arkansas Colorado Connecticut Delaware Hawaii Idaho Illinois Kansas Kentucky Maine ' str = ' Arkansas Colorado Connecticut Delaware Hawaii Idaho Illinois Kansas Kentucky Maine Maryland ' str = ' Arkansas Colorado Connecticut Delaware Hawaii Idaho Illinois Kansas Kentucky Maine Maryland Massachusetts ' str = ' Arkansas Colorado Connecticut Delaware Hawaii Idaho Illinois Kansas Kentucky Maine Maryland Massachusetts Michigan ' str = ' Arkansas Colorado Connecticut Delaware Hawaii Idaho Illinois Kansas Kentucky Maine Maryland Massachusetts Michigan '

Assertion failed.

3   Fail
s1 = 'New York North Carolina Michigan Arkansas Alabama North Dakota Hawaii West Virginia New Jersey'; s2 = 'New York Michigan Arkansas Hawaii New Jersey'; assert(isequal(s2, refcn(s1)))

str = 'New ' str = 'New York ' str = 'New York North ' str = 'New York North ' str = 'New York North Michigan ' str = 'New York North Michigan Arkansas ' str = 'New York North Michigan Arkansas ' str = 'New York North Michigan Arkansas North ' str = 'New York North Michigan Arkansas North ' str = 'New York North Michigan Arkansas North Hawaii ' str = 'New York North Michigan Arkansas North Hawaii West ' str = 'New York North Michigan Arkansas North Hawaii West ' str = 'New York North Michigan Arkansas North Hawaii West New ' str = 'New York North Michigan Arkansas North Hawaii West New Jersey'

Assertion failed.

Suggested Problems

More from this Author95