Cody

Solution 535720

Submitted on 26 Nov 2014
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
%% % Cody External accessibility % This file may need to change in the future in_f='http://www.pvplc.org/_volunteer/docs/PVPLC%20Trail%20Crew%20Training%20Jan-Jun%202012.pdf'; out_f='PVPLC.pdf'; urlwrite(in_f,out_f); fid=fopen(out_f); urlwrite_out=fread(fid,128,'*uint8'); % Display Correct Binary Data urlwrite_out(1:16)' block=urlread(in_f); % Display invalid binary data urlread_out=block(1:16)-char(0) % unicode urlread conversion affects bytes 12 thru 15 n=12 byte_val = access_web_pdf(in_f,n) byte_correct=181; assert(isequal(byte_val,byte_correct))

Error: Undefined function or variable 'in_f'.