Is this Test still working? I submitted a problem of size 100, and also returned the number 100 from the function, and AFAIK there was only one other solution with this score previously submitted (and which wasn't submitted by me), namely https://www.mathworks.com/matlabcentral/cody/problems/2825payitforward/solutions/556177 . Admittedly that supposedly needs rescoring, but I didn't think that should affect anything.
I just got the heads up that my original solution to this problem had been nullified when this problem showed up on my "not solved" listing. Out of curiosity, I entered 100 as my entry, and it told me that there were two other entries with that number. If I understand the suite correctly, and it's still working as it should, your "100" solution should probably have worked, David.
Hi, James. Actually, this Solution (my "100" Solution) was initially marked as 'incorrect', but a while after my Comment was posted the Solution was remarked to 'correct'. I surmise that Alfonso NietoCastanon updated the Test Suite to account for some changes to how Cody works. Although he has not made a Comment to that effect, besides the changed scoring of my Solution it is notable that A. N.C. also submitted a (correct) Solution on 30 Oct 2017, which I would interpret as a validation exercise by the Problem's creator. So it seems a glitch arose some time after the Problem's inception, and that glitch was fixed in mid/late October 2017. —DIV
Test  Status  Code Input and Output 

1  Pass 
urlwrite('https://sites.google.com/a/alfnie.com/alfnie/software/SetSolutionScore.p?attredirects=0&d=1','SetSolutionScore.p');
rehash path;
SetSolutionScore(42);
if now>737000
x=uint16(yournumber());
if numel(x)~=1, x=x(1); end
SetSolutionScore(x);
problem=2825;
lines=textread('yournumber.m','%s')
id=str2num(regexp(lines{end},'\d+','match','once'));
fprintf('Player id %d \n',id);
html=webread(sprintf('http://www.mathworks.com/matlabcentral/cody/problems/%d/solutions?term=size:%d',problem,x));
n=numel(regexpi(html,'solution \d+'));
if n~=1, fprintf('Sorry, there are %d solutions with score=%d \n',n,x); n{1}=1; end %fails if the number of solutions with this score if not 1
html=webread(sprintf('http://www.mathworks.com/matlabcentral/cody/problems/%d/solutions?term=player_id:%d+size:%d',problem,id,x));
n=numel(regexpi(html,'solution \d+'));
if n==1, fprintf('Sorry, the other solution with score=%d cannot be your own \n',x); n{1}=1; end %fails if the single solution with this score is your own
fprintf('There were %d solutions with score=%d \n',n,x);
else % admin rescoring
x=uint16(yournumber());
if numel(x)~=1, x=x(1); end
SetSolutionScore(x);
end
txtGone =
"Accepted solutions (no longer available): 4,5,6,7,9,13,17,21,23,42,43,45,50,67,99,13276,27419,32768,53656,65535"
txtNot =
"Unavailable solutions (can never be accepted): 0,1,2,3,12,19,31,32,131"
txtHere =
"Available solutions: 10,11,(16),(18),(27),29,(35),(40),(96?),100,1313,65400,65524,65525,65526,65527,65528,65529,65530,65531,65532,65533,65534,919293"
txtDummy =
"Values in parentheses are not available to ME."

Project Euler: Problem 6, Natural numbers, squares and sums.
968 Solvers
242 Solvers
Basics: 'Find the eigenvalues of given matrix
312 Solvers
290 Solvers
4524 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!