Cody

Recent Activity

51 – 100 of 5,094

Malcolm Wildgoose submitted a Comment to Solution 1915445

Nice!

on 29 Aug 2019

Tim submitted a Comment to Solution 1915449

Googling can supplant programming sometimes.

on 29 Aug 2019

danteliujie submitted a Comment to Solution 553551

Nice!

on 28 Aug 2019

math math submitted a Comment to Solution 1913368

one of the simplest task.

on 27 Aug 2019

Ethan Zhang submitted a Comment to Solution 1857591

WTF

on 26 Aug 2019

Ivo Georgiev submitted a Comment to Solution 1909426

tf=~any(sum(x-length(x)^2-1)+norm(x,inf)) the best

on 23 Aug 2019

Eugene Avrutin submitted a Comment to Solution 1910169

why no accept

on 23 Aug 2019

Eugene Avrutin submitted a Comment to Solution 1910037

this seems a bit silly

on 23 Aug 2019

Jennifer Winikus submitted a Comment to Solution 402276

Looking at the test cases first will save lots of complications

on 21 Aug 2019

obfish submitted a Comment to Solution 489354

wonderful

on 21 Aug 2019

Daniel Cook submitted a Comment to Solution 134992

I can't believe it is this simple. lol.

on 18 Aug 2019

saleh abdulmalik submitted a Comment to Solution 1812725

exactly !

on 18 Aug 2019

Guillaume submitted a Comment to Solution 1894663

The version of matlab is not going to affect the result. This solution removes punctuation from the input, so the '.' at the end of sentence in the second test is incorrectly removed.

on 15 Aug 2019

Isha Desai submitted a Comment to Solution 1894663

Which version of MATLAB are you using on your desktop? I tried running your solution on MATLAB desktop version 2019a and the solution is failing with correct assertions. In order to figure out the version of MATLAB, command "ver' will get you the version.

on 15 Aug 2019

Ethan Zhang submitted a Comment to Solution 1637419

Absolutely for the tests...

on 11 Aug 2019

Yuumi Ozaki submitted a Comment to Solution 1895606

Why can't 71 be true?

on 9 Aug 2019

Abi Bowler submitted a Comment to Solution 1894663

I've tried the assert in MATLAB on my desktop and it doesn't throw an error... so I'm not really sure where it's gone wrong here. I'm guessing it's something tiny I've missed. Any help?

on 8 Aug 2019

liu xinyang submitted a Comment to Solution 1893405

This test program is wrong.To judge a leap year, you need to calculate if the following condition is satisfied mod(year,4)==0 & mod(year,100)~=0 & mod(year,400)==0. However, this team only count those years that mod(year,4)==0

on 7 Aug 2019

Manfred Germain submitted a Comment to Solution 1891250

Why is this wrong here? I checked using matlab on my laptop and it works.

on 3 Aug 2019

VISHWATEJ N submitted a Comment to Solution 98447

i need the code part of 3rd test case .. can anyone help

on 2 Aug 2019

Nikolaos Nikolaou submitted a Comment to Solution 1890020

Why is the test suite not visible ? Is it me (firefox display issue) or it is supposed to be that way?

on 2 Aug 2019

jack walker submitted a Comment to Solution 1889988

This is confusing because the notation does not match the diagram

on 2 Aug 2019

saleh abdulmalik submitted a Comment to Solution 1889760

in the test suite, test number 3 tests for vector [0 0 0 0 0] if it is monotically increasing, but in the assertion it claims it is false, meaning it is not monotically increasing, which i dont think is true. the assertion should check it as true. this is from wikipedia: [ A function is called monotonically increasing if for all x and y such that x <= y one has f(x)<=f(y) ] the (issorted) function should be enough to check for monotically increasing.

on 1 Aug 2019

Ivo Georgiev submitted a Comment to Solution 1888579

Mnogo cod si napisal ;-))))) probvai tova : b = ~isempty(intersect(a,a.^2))

on 31 Jul 2019

Rudolf Csikja submitted a Comment to Solution 1887205

A nice one-liner is always good :)

on 29 Jul 2019

Rudolf Csikja submitted a Comment to Solution 1887183

A nice opportunity to use toeplitz :)

on 29 Jul 2019

danteliujie submitted a Comment to Solution 1294475

nice solution and comments

on 29 Jul 2019

Ashish Khulbey submitted a Comment to Solution 1885342

This link can help: https://in.mathworks.com/help/matlab/ref/fliplr.html

on 27 Jul 2019

Ashish Khulbey submitted a Comment to Solution 1885341

My solution size is at least 6 times than the leading solution. I would like to be enlightened...

on 27 Jul 2019

Ashish Khulbey submitted a Comment to Solution 1884723

Problem statement itself includes the answer.

on 26 Jul 2019

Ashish Khulbey submitted a Comment to Solution 1884717

Sum of an Arithmetic Progression will get this problem done.

on 26 Jul 2019

Ashish Khulbey submitted a Comment to Solution 1884711

"Is the wife right?" Well definitely, 'yes'.

on 26 Jul 2019

Junyi Ge submitted a Comment to Solution 1884473

keep trying

on 26 Jul 2019

Junyi Ge submitted a Comment to Solution 1884463

-0--

on 26 Jul 2019

Junyi Ge submitted a Comment to Solution 1884462

no

on 26 Jul 2019

Sarah Walls submitted a Comment to Solution 1882740

Why doesn't this solution work? Works just fine in my desktop program...

on 24 Jul 2019

Panggah Prabawa submitted a Comment to Solution 1881463

Just convert the result to uint32 xd

on 23 Jul 2019

Jann B submitted a Comment to Solution 1569750

hello, where do you find a perfect square in [20:30]?

on 22 Jul 2019

Michael Price submitted a Comment to Solution 1879664

Good question

on 20 Jul 2019

Paul Smits submitted a Comment to Solution 1589344

Best solution, balancing readability and short size. +

on 19 Jul 2019

Rudolf Csikja submitted a Comment to Solution 1877993

Awful wording: longer and shorter side, then width and length.

on 18 Jul 2019

Rudolf Csikja submitted a Comment to Solution 1877879

a nice one-liner, again

on 18 Jul 2019

Rudolf Csikja submitted a Comment to Solution 1877848

nice one-liner :)

on 18 Jul 2019

Rudolf Csikja submitted a Comment to Solution 1877827

nice one-liner

on 18 Jul 2019

Evan submitted a Comment to Solution 1877072

Due to the use of persistent variables and the conditional statements used, this solution would fail if the test suite were modified to include two tests in a row with the same increment value.

on 17 Jul 2019

lmehl submitted a Comment to Solution 1875872

LOL. Just my luck.

on 16 Jul 2019

William submitted a Comment to Solution 1671361

Touche! Yes, the new examples make the more extensive comments worthwhile.

on 16 Jul 2019

Chen Qian submitted a Comment to Solution 402276

This is really smart!

on 15 Jul 2019

Christian Haller submitted a Comment to Solution 1872812

Lovely code!

on 12 Jul 2019

jianrui fan submitted a Comment to Solution 190833

so simple and clear

on 12 Jul 2019

51 – 100 of 5,094