|
|
back to boardMy Very Little Code Var k :extended; n :word; begin readln(n); repeat readln(k); write(ord(trunc(sqrt(2*(k-1)))* (trunc(sqrt(2*(k-1)))+1)=2*(k-1)),' '); dec(n); until n=0; end. Re: My Very Little Code Posted by Tang RZ 29 May 2004 11:07 (ord(trunc(sqrt(2*(k-1)))*(trunc(sqrt(2*(k-1)))+1)=2*(k-1)),' '); How do you get this? |
|
|