Every programer first code
C++ cout << "Hello World";
cout << "Hello World";
Java System.out.println("Hello World");
System.out.println("Hello World");
Python print("Hello World")
print("Hello World")
A=document.ptt.a.value; a = Math.floor(Number(A)) + 1; y = 0; document.ptt.partizioni.value = ""; arr = new Array(a*a+1); arr [0] = 0; arr [1] = 1; for (var x = 2; x < a*a; x++) { if (Math.floor(x/a)*a/x < a/(a+1) || x % a == 0) { arr [x] = 0; } else { arr [x] = arr [x-a-1] + arr [a*a*(Math.floor(x/a))-x*(a-1)]; } } arr [a*a] = 1; for (var i = a*(a-1)+1; i < a*a+1; i++) { y = y + arr[i]; } y--; document.ptt.partizioni.value = y;
What's your point in writing this?
What's your point in writing this?