Test | Status | Code Input and Output |
---|---|---|
1 | Pass |
feval(@assignin,'caller','score',0);
|
2 | Pass |
% Warm-Up Calls
c=randi(4,1000,16,'uint8')-1;
out = unique_rows_stable_fast(c);
out = unique_rows_stable_fast(c);
out = unique_rows_stable_fast(c);
|
3 | Pass |
c=randi(4,6000000,16,'uint8')-1;
ta=clock;
out = unique_rows_stable_fast(c);
t1=etime(clock,ta)*1000;
fprintf('Elapsed time = %.0f msec\n',t1)
assert(isequal(unique(c,'rows','stable'),out))
t2=min(20000,t1); % unique scores 20000 msec
feval(@assignin,'caller','score',floor(t2));
Elapsed time = 6722 msec
|
192 Solvers
Back to basics 23 - Triangular matrix
634 Solvers
Wind outward from the center ...
67 Solvers
464 Solvers
3072 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!