Test | Status | Code Input and Output |
---|---|---|
1 | Pass |
tic
m=[2 8 15 ];
v=Polyglot(m);
vexp=[6938704 ];
assert(isequal(vexp,v))
|
2 | Pass |
m=[2 7 15 ];
v=Polyglot(m);
vexp=[853390015];
assert(isequal(vexp,v))
|
3 | Pass |
m=[2 2 2 ];
v=Polyglot(m);
vexp=[8];
assert(isequal(vexp,v))
|
4 | Pass |
m=[2 2 3 ];
v=Polyglot(m);
vexp=[24];
assert(isequal(vexp,v))
|
5 | Pass |
m=[2 2 15];
v=Polyglot(m);
vexp=[32342016 ];
assert(isequal(vexp,v))
|
6 | Pass |
m=[4 2 2];
v=Polyglot(m);
vexp=[12];
assert(isequal(vexp,v))
|
7 | Pass |
m=[4 2 3];
v=Polyglot(m);
vexp=[40];
assert(isequal(vexp,v))
|
8 | Pass |
m=[4 2 4];
v=Polyglot(m);
vexp=[176];
assert(isequal(vexp,v))
|
9 | Pass |
m=[44 2 15];
v=Polyglot(m);
vexp=[916593151];
assert(isequal(vexp,v))
|
10 | Pass |
m=[1 3 15];
v=Polyglot(m);
vexp=[397629405];
assert(isequal(vexp,v))
|
11 | Pass |
m=[2 3 15];
v=Polyglot(m);
vexp=[105078522];
assert(isequal(vexp,v))
|
12 | Pass |
m=[2 4 15];
v=Polyglot(m);
vexp=[133836675];
assert(isequal(vexp,v))
|
13 | Pass |
m=[2 8 15];
v=Polyglot(m);
vexp=[6938704];
assert(isequal(vexp,v))
|
14 | Pass |
m=[2 8 14];
v=Polyglot(m);
vexp=[624439943];
assert(isequal(vexp,v))
|
15 | Pass |
m=[50 50 2];
v=Polyglot(m);
vexp=[5000];
assert(isequal(vexp,v))
|
16 | Pass |
m=[50 50 3];
v=Polyglot(m);
vexp=[375000];
assert(isequal(vexp,v))
|
17 | Pass |
m=[50 50 7];
v=Polyglot(m);
vexp=[249885158];
assert(isequal(vexp,v))
|
18 | Pass |
m=[10 20 10];
v=Polyglot(m);
vexp=[998720967];
assert(isequal(vexp,v))
|
19 | Pass |
m=[5 10 13];
v=Polyglot(m);
vexp=[746816099];
assert(isequal(vexp,v))
|
20 | Pass |
m=[1 1 13 ];
v=Polyglot(m);
vexp=[377 ];
assert(isequal(vexp,v))
toc
Elapsed time is 0.317624 seconds.
|
206 Solvers
355 Solvers
Numbers with prime factors 2, 3 and 5.
115 Solvers
What is the distance from point P(x,y) to the line Ax + By + C = 0?
209 Solvers
Getting the absolute index from a matrix
178 Solvers