Solution 2199847

Submitted on 8 Apr 2020
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.

Test Suite

Test Status Code Input and Output
1   Fail
problem=2873; lines=textread('lucky.m','%s'); id=str2num(regexp(lines{end},'\d+','match','once')); html=urlread(sprintf('',problem,id)); n=numel(regexpi(html,'solution \d+')); if n>0, error('Sorry. You had your chance already'); end if randi(10)~=lucky(), error('Good guess! but wrong, sorry...'); end disp('Amazingly correct!')

Good guess! but wrong, sorry...