Test | Status | Code Input and Output |
---|---|---|
1 | Fail |
str1 = 'estion-quay';
str2 = 'question';
str1_f = piglatin2english(str1);
assert(strcmp(str1_f,str2))
|
2 | Fail |
str1 = 'another-ay';
str2 = 'another';
str1_f = piglatin2english(str1);
assert(strcmp(str1_f,str2))
|
3 | Fail |
str1 = 'ix-nay';
str2 = 'nix';
str1_f = piglatin2english(str1);
assert(strcmp(str1_f,str2))
|
4 | Fail |
str1 = 'another-ay one-ay ites-bay e-thay ust-day';
str2 = 'another one bites the dust';
str1_f = piglatin2english(str1);
assert(strcmp(str1_f,str2))
|
5 | Fail |
str1 = 'ow-hay uch-may ood-way ould-way a-ay oodchuck-way uck-chay if-ay a-ay oodchuck-way ould-cay uck-chay ood-way';
str2 = 'how much wood would a woodchuck chuck if a woodchuck could chuck wood';
str1_f = piglatin2english(str1);
assert(strcmp(str1_f,str2))
|
6 | Fail |
str1 = 'eter-pay iper-pay icked-pay a-ay eck-pay of-ay ickle-pay eppers-pay';
str2 = 'peter piper picked a peck of pickle peppers';
str1_f = piglatin2english(str1);
assert(strcmp(str1_f,str2))
|
7 | Fail |
str1 = 'our-fay ore-scay';
str2 = 'four score';
str1_f = piglatin2english(str1);
assert(strcmp(str1_f,str2))
|
Make the vector [1 2 3 4 5 6 7 8 9 10]
29431 Solvers
468 Solvers
4104 Solvers
Project Euler: Problem 6, Natural numbers, squares and sums.
782 Solvers
Remove entire row and column in the matrix containing the input values
109 Solvers