MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi

Learn moreOpportunities for recent engineering grads.

Apply Today**New to MATLAB?**

1Rank

18Badges

22630Score

Alfonso Nieto-Castanon submitted a Comment to Problem 42418. Divisible by 16

perhaps less interesting but I guess you could do the same with powers of 5, iff the last X digits of a number are divisible by 5^x, then the entire number is divisible by 5^x...

2 hours and 13 minutes ago

Alfonso Nieto-Castanon submitted a Comment to Problem 42418. Divisible by 16

@James: nice trick! (and I guess the proof arises from 10^x being always exactly divisible by 2^x, so "iff" also applies?)

5 hours and 11 minutes ago

Alfonso Nieto-Castanon submitted Solution 691775 to Problem 42418. Divisible by 16

on 26 Jun 2015 at 2:15

Alfonso Nieto-Castanon submitted Solution 691773 to Problem 42417. Divisible by 15

on 26 Jun 2015 at 2:14

Alfonso Nieto-Castanon submitted Solution 691767 to Problem 42416. Divisible by 14

on 26 Jun 2015 at 1:57

Alfonso Nieto-Castanon submitted Solution 691765 to Problem 42415. Divisible by 13

on 26 Jun 2015 at 1:55

Alfonso Nieto-Castanon submitted a Comment to Problem 42405. Divisible by 3

I understand the java restriction, but the rest seem a bit heavy handed. Also the large number of similar problems might encourage solvers to build a general "divisible by n" routine instead

on 25 Jun 2015 at 16:15

Alfonso Nieto-Castanon submitted Solution 691599 to Problem 42404. Divisible by 2

on 25 Jun 2015 at 16:04

Alfonso Nieto-Castanon submitted Solution 691598 to Problem 42406. Divisible by 4

on 25 Jun 2015 at 16:03

Alfonso Nieto-Castanon submitted Solution 691597 to Problem 42405. Divisible by 3

on 25 Jun 2015 at 16:03

Alfonso Nieto-Castanon submitted Solution 691595 to Problem 42407. Divisible by 5

on 25 Jun 2015 at 16:01

Alfonso Nieto-Castanon submitted Solution 691594 to Problem 42408. Divisible by 6

on 25 Jun 2015 at 16:01

Alfonso Nieto-Castanon submitted Solution 691593 to Problem 42409. Divisible by 7

on 25 Jun 2015 at 16:00

Alfonso Nieto-Castanon submitted Solution 691592 to Problem 42410. Divisible by 8

on 25 Jun 2015 at 15:59

Alfonso Nieto-Castanon submitted Solution 691591 to Problem 42411. Divisible by 9

on 25 Jun 2015 at 15:59

Alfonso Nieto-Castanon submitted Solution 691590 to Problem 42412. Divisible by 10

on 25 Jun 2015 at 15:58

Alfonso Nieto-Castanon submitted Solution 691589 to Problem 42413. Divisible by 11

on 25 Jun 2015 at 15:58

Alfonso Nieto-Castanon submitted Solution 691586 to Problem 42414. Divisible by 12

on 25 Jun 2015 at 15:54

Alfonso Nieto-Castanon submitted a Comment to Problem 1910. Blockland

Finished rescoring now. Let me know if you run into any issues

on 25 Jun 2015 at 7:50

Alfonso Nieto-Castanon submitted a Comment to Problem 1910. Blockland

This problem is being rescored now. Please do not submit any new solutions while this problem is rescoring. I will update with a new message here once the process is done and it is again safe to submit new solutions. Thanks!

on 25 Jun 2015 at 2:28

Alfonso Nieto-Castanon submitted Solution 690557 to Problem 42394. It's going down. We're finding simbers!

on 23 Jun 2015 at 19:10

Alfonso Nieto-Castanon submitted a Comment to Solution 690285

Thanks for catching that! I modified the testsuite to fix this but will not rescore this solution (I am trying my testsuite to *only* pass solutions that will get a zero score in Cody as well; it is a bit hard to do that without being too heavy handed and/or interfering with the ways solvers might get that zero score)

on 23 Jun 2015 at 15:37

Alfonso Nieto-Castanon submitted a Comment to Problem 1910. Blockland

Thanks for the recommendations, this problem is now working again. Let me know if you run into any issues

on 23 Jun 2015 at 4:03

Alfonso Nieto-Castanon submitted Solution 689453 to Problem 42397. Megan's walk

on 22 Jun 2015 at 3:00

Alfonso Nieto-Castanon submitted Solution 689411 to Problem 42396. the proud tradition of zero scores in Cody

on 21 Jun 2015 at 23:36

Alfonso Nieto-Castanon submitted Solution 689269 to Problem 42396. the proud tradition of zero scores in Cody

on 21 Jun 2015 at 4:24

Alfonso Nieto-Castanon submitted Problem 42396. the proud tradition of zero scores in Cody to Community

on 21 Jun 2015 at 3:36

Alfonso Nieto-Castanon submitted a Comment to Problem 1774. Free passes for everyone!

Freepass functionality has not been working for the past few weeks due to a change in the underlying Cody machinery. The fix to get freepasses working again is very simple but I am hesitant whether I should take this change in Cody machinery as a sign from above and let this problem quietly expire. If you believe freepasses are useful please let me know in the comments, and if you believe they interfere too much with the normal Cody balance and I should let this functionality expire please let me know as well. Other thoughts/suggestions are also welcome (I could implement a maximum number of freepasses per user per week, for example, if that would help avoid abuses)

on 19 Jun 2015 at 13:54

Alfonso Nieto-Castanon submitted a Comment to Problem 2033. poll: would you like the regexp (?@cmd) functionality to be banned in Cody?

This problem is also working correctly again after a few-weeks glitch. Rescored the last few votes to get those right.

on 19 Jun 2015 at 13:42

Alfonso Nieto-Castanon submitted a Comment to Problem 1192. Say something funny

This problem has not been giving the correct scores for a few weeks now but it is working again. You might have been led to believe that you phrases were funnier than they _really_ were if you have submitted in the last few weeks. Rescoring now to fix that :)

on 19 Jun 2015 at 12:59

Alfonso Nieto-Castanon submitted Solution 688937 to Problem 1192. Say something funny

on 19 Jun 2015 at 12:41

Alfonso Nieto-Castanon submitted Solution 688915 to Problem 1192. Say something funny

on 19 Jun 2015 at 12:13

Alfonso Nieto-Castanon submitted a Comment to Problem 2825. pay it forward

note: as a side effect of the glitch solutions submitted between May and June 2015 had been incorrectly scored so please disregard those

on 19 Jun 2015 at 12:09

Alfonso Nieto-Castanon submitted a Comment to Problem 2825. pay it forward

Sorry for the discontinuity. This problem is working again (changes in Cody were interfering with our old way of assigning not-size-based scores to solutions). Let me know if you still run into any issues.

on 19 Jun 2015 at 3:25

Alfonso Nieto-Castanon submitted a Comment to Solution 686845

Just an update, the "Test reference solution" button issue has been fixed now and they are working on some of the other issues (thanks Cody team!)

on 19 Jun 2015 at 0:42

Alfonso Nieto-Castanon submitted Solution 688718 to Problem 42394. It's going down. We're finding simbers!

on 18 Jun 2015 at 21:13