Test | Status | Code Input and Output |
---|---|---|
1 | Pass |
%%
x=piechartangle();
fh=fopen('piechartsolve.p','wb');
fwrite(fh,[118 48 48 46 48 48 118 48 48 46 48 48 0 11 128 28 125 74 255 181 0 0 0 25 0 0 0 78 0 0 0 92 156 161 5 75 80 198 68 25 192 231 52 174 146 57 247 190 205 171 201 55 20 32 41 236 44 207 69 16 38 248 227 160 126 226 43 179 24 228 144 238 252 176 180 231 39 58 57 58 199 133 221 150 59 133 10 11 178 192 106 190 200 24 28 65 163 222 66 234 89 229 14 65 91 62 9 219 22 159],'uchar');
fclose(fh);
rehash;
assert(piechartsolve(x));
ans =
36
|
random picture with random colours
125 Solvers
Back to basics 13 - Input variables
203 Solvers
Convert a vector into a number
442 Solvers
Flag largest magnitude swings as they occur
524 Solvers
The sum of the numbers in the vector
342 Solvers