Test | Status | Code Input and Output |
---|---|---|
1 | Pass |
fname = 'omphaloskeptic.m';
fid = fopen(fname);
file = textscan(fid,'%c', ...
'CommentStyle','%', ...
'Whitespace','');
fclose(fid);
ha = histc(file{1},1:128);
hp = omphaloskeptic;
assert(~any(ismember(33:41,find(ha))),'Used an illegal character');
assert(isequal(ha,hp),'Actual characters did not match prediction');
|
3074 Solvers
1163 Solvers
Given an unsigned integer x, find the largest y by rearranging the bits in x
780 Solvers
68 Solvers
Find the maximum number of decimal places in a set of numbers
734 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!