Cody

Recent Activity

1 – 50 of 4,901

Kingfall submitted a Comment to Problem 44960. Rescale Scores

It appears the last column of the output from the problem statement should be 3.5; 0.0; 2.0 instead of 3.5; 0.0; 3.0, but the first test suite does have it correct.

21 hours and 19 minutes ago

Pooja Lalan submitted a Comment to Problem 44958. Crop an Image

Thank you Payam. I assume you meant specifying the order of the inputs explicitly. I have updated the description to make it clearer.

21 hours and 46 minutes ago

Richard Dezso Kovacs submitted a Comment to Problem 44949. Find the Best Hotels

You should mention that the answer should be given as a column vector, rather than row vector. One at this time must examine the assessment code to give the right answer, while I think it should be self-contained in the question itself.

on 10 Nov 2019 at 10:25

Fakhteh Ghalami submitted a Comment to Problem 568. Number of 1s in a binary string

would you please let me know why sum(x) creates error?

on 9 Nov 2019 at 20:10

Fakhteh Ghalami submitted a Comment to Problem 262. Swap the input arguments

can anyone help me why temp = a; a = b; b = temp; is wrong?

on 9 Nov 2019 at 20:09

Fakhteh Ghalami submitted a Comment to Problem 174. Roll the Dice!

can anyone help me why x1 = 1 + (5)*rand(1,1); x2 = 1 + (5)*rand(1,1); is wrong???

on 9 Nov 2019 at 20:08

Payam Morsali submitted a Comment to Problem 44958. Crop an Image

you should mention which is which in this matrix Icrop = crop_image(I, 2, 2, 1, 3)

on 9 Nov 2019 at 10:08

Fakhteh Ghalami submitted a Comment to Problem 8. Add two numbers

c=a+b

on 8 Nov 2019 at 16:25

Dan Xu submitted a Comment to Problem 1. Times 2 - START HERE

Great for test, like Hello world.

on 8 Nov 2019 at 16:12

William submitted a Comment to Problem 44909. Reepeating numbers in array

Problem #2 has a missing right bracket on y_correct.

on 6 Nov 2019 at 13:47

David Motson submitted a Comment to Problem 45173. Create the flag of Ramumbia

Please correct the test suite. I believe that I have submitted a correct solution

on 5 Nov 2019 at 14:06

David Motson submitted a Comment to Problem 45160. Convert characters into numbers

presumably this problem is incomplete? the test doesn't check anything meaningful

on 5 Nov 2019 at 13:41

David Motson submitted a Comment to Problem 174. Roll the Dice!

I offered a solution that should be working (works okay in Matlab) but not here: round(rand()*5+1); - not the most optimum, but still provides the correct output, yet fails the test

on 4 Nov 2019 at 14:16

Asif Newaz submitted a Comment to Problem 64. The Goldbach Conjecture, Part 2

@Dima Panna 'nthprime' uses symbolic math toolbox which is not supported in cody

on 1 Nov 2019 at 20:45

Simon submitted a Comment to Problem 1035. Generate a vector like 1,2,2,3,3,3,4,4,4,4

Can it be done without a for loop?

on 1 Nov 2019 at 15:57

Asif Newaz submitted a Comment to Problem 1080. Guess Cipher

i dont get it.help me understand

on 30 Oct 2019 at 13:29

Daniel Montag submitted a Comment to Problem 953. Pi Estimate 1

The link is broken, but you can solve this problem with the Leibniz formula for π.

on 30 Oct 2019 at 12:29

Tung Nguyen submitted a Comment to Problem 659. How long is the longest prime diagonal?

hard

on 29 Oct 2019 at 11:45

Doan Quang Manh submitted a Comment to Problem 833. Find third Side of a right triangle given hypotenuse and a side. No * - or other functions allowed

I think minus() and power() must be forbidden

on 29 Oct 2019 at 10:49

Asif Newaz submitted a Comment to Problem 31. Remove all the words that end with "ain"

nice problem..really nic

on 28 Oct 2019 at 17:11

Nikolaos Nikolaou submitted a Comment to Problem 43667. Use a timetable to analyze a train timetable (Part 4)

Peng do share the grouping method cause it eludes me :)

on 28 Oct 2019 at 12:06

Benjamin Richards submitted a Comment to Problem 2423. Integer Sequence - II : New Fibonacci

The Integer Sequence isn't shown for some reason.

on 28 Oct 2019 at 11:00

Nikolaos Nikolaou submitted a Comment to Problem 397. capable husband?

struggled with this one :) Hint :monte carlo algorthim approach

on 27 Oct 2019 at 8:41

Nikolaos Nikolaou submitted a Comment to Problem 43674. String Array Basics, Part 3: Convert Cell Array with Missing Values to String Array

Hint to spare the pain : string(NaN)==[]

on 26 Oct 2019 at 14:36

goc3 submitted a Comment to Problem 42788. Rearrange string

The last test suite has been fixed.

on 23 Oct 2019 at 23:52

Jiawei Zeng submitted a Comment to Problem 10. Determine whether a vector is monotonically increasing

Good question

on 23 Oct 2019 at 1:30

galaxy submitted a Comment to Problem 713. Find the maximum number of decimal places in a set of numbers

good for improve skill

on 23 Oct 2019 at 1:26

Justin Illingworth submitted a Comment to Problem 2022. Find a Pythagorean triple

Thanks Tanya, have enjoyed these.

on 22 Oct 2019 at 20:43

Asif Newaz submitted a Comment to Problem 42788. Rearrange string

ur last test is incorrect

on 20 Oct 2019 at 21:24

Asif Newaz submitted a Comment to Problem 42855. Height of a right-angled triangle

although i'm providing a correct solution with correct answer, it's showing assertion failed for the 1st case. other assertions are ok. help?

on 19 Oct 2019 at 15:24

Asif Newaz submitted a Comment to Problem 558. Is the Point in a Triangle?

it was hard..nic problem

on 19 Oct 2019 at 11:13

Andrew Newell submitted a Comment to Problem 44060. Volume Pillar

The test suite should take into account the inherent imprecision of floating-point numbers.

on 18 Oct 2019 at 16:51

ME submitted a Comment to Problem 45173. Create the flag of Ramumbia

I find the exact same problem with the test suite.

on 17 Oct 2019 at 8:48

Raúl Ibáñez Couoh submitted a Comment to Problem 26. Determine if input is odd

Thank you!

on 15 Oct 2019 at 21:58

William submitted a Comment to Problem 45173. Create the flag of Ramumbia

There are some problems with the test suite. Problems 3 and 5 have too many square brackets on the right, and Problem 4 uses a matrix that exceeds the preferred matrix dimensions.

on 14 Oct 2019 at 14:22

William submitted a Comment to Problem 45172. Cross ("+") flag returns

It seems to me that the result for [m,n]=[4,4] is incorrect.

on 14 Oct 2019 at 13:47

Xiao Zehn submitted a Comment to Problem 44672. Draw 'C'.

The page you were looking for doesn't exist. You may have mistyped the address or the page may have moved.

on 14 Oct 2019 at 13:29

Trinh Tran submitted a Comment to Problem 7. Column Removal

Good problem

on 13 Oct 2019 at 16:50

Hau Van submitted a Comment to Problem 44309. Pi Digit Probability

......

on 11 Oct 2019

David Hill submitted a Comment to Problem 44971. Convert base 10 to base x (2-16)

Tim, You are correct. Thanks for the comment. Fixed the errors you detected as well as a few others. Should be good now.

on 10 Oct 2019

Xiaotao REN submitted a Comment to Problem 89. Counting in Finnish

Interesting

on 10 Oct 2019

ME submitted a Comment to Problem 42590. Divide elements by sum of elements

Slight error in the problem definition. The solutions require two decimal places not two significant figures!

on 9 Oct 2019

William submitted a Comment to Problem 45158. Calculate the average value of the elements in the array

The correct result is 4, not 8.

on 8 Oct 2019

William submitted a Comment to Problem 45162. Duplicate all elements in the array

If you are using the word "duplicate" to mean multiply by 2, then the correct answer is [2,4,6], not [1,4,6]

on 8 Oct 2019

ME submitted a Comment to Problem 45162. Duplicate all elements in the array

The solution to this problem doesn't make any sense!!!

on 8 Oct 2019

ME submitted a Comment to Problem 45158. Calculate the average value of the elements in the array

The solution for this problem doesn't make any sense!!!

on 8 Oct 2019

tiwag7 submitted a Comment to Problem 953. Pi Estimate 1

please update the link to the document, cant find it anymore

on 8 Oct 2019

1 – 50 of 4,901