Data commit
This commit is contained in:
parent
7387c8f97b
commit
cb5bb5e222
199093 changed files with 3378972 additions and 0 deletions
7
Task/Babbage-problem/Ring/babbage-problem.ring
Normal file
7
Task/Babbage-problem/Ring/babbage-problem.ring
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
n = 0
|
||||
while pow(n,2) % 1000000 != 269696
|
||||
n = n + 1
|
||||
end
|
||||
|
||||
see "The smallest number whose square ends in 269696 is : " + n + nl
|
||||
see "Its square is : " + pow(n,2)
|
||||
Loading…
Add table
Add a link
Reference in a new issue