v1
4/1/2021 by victor-homyakov -00
Setup HTML - click to add setup HTML
disable setup JavaScript
Setup JavaScript
const N = 1 / 3;

const CUBE_ROOTS = [];
for (let i = 0; i <= 255; i++) {
	CUBE_ROOTS[i] = Math.pow(i, N);
}


let sum = 0;
delete caserun single casemove downdrag and drop case


ready



const r = (Math.random() * 256) | 0;
sum += Math.pow(r, N);
delete caserun single casemove updrag and drop case


ready



const r = (Math.random() * 256) | 0;
sum += CUBE_ROOTS[r];
Test Case - click to add another test case
disable teardown JavaScript
teardown JavaScript
console.log(sum);
Output (DOM) - click to monitor output (DOM) while test is running
RUN