Data commit
This commit is contained in:
parent
7387c8f97b
commit
cb5bb5e222
199093 changed files with 3378972 additions and 0 deletions
21
Task/Babbage-problem/Limbo/babbage-problem.limbo
Normal file
21
Task/Babbage-problem/Limbo/babbage-problem.limbo
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
implement Babbage;
|
||||
|
||||
include "sys.m";
|
||||
sys: Sys;
|
||||
print: import sys;
|
||||
include "draw.m";
|
||||
draw: Draw;
|
||||
|
||||
Babbage : module
|
||||
{
|
||||
init : fn(ctxt : ref Draw->Context, args : list of string);
|
||||
};
|
||||
|
||||
init (ctxt: ref Draw->Context, args: list of string)
|
||||
{
|
||||
sys = load Sys Sys->PATH;
|
||||
current := 0;
|
||||
while ((current * current) % 1000000 != 269696)
|
||||
current++;
|
||||
print("%d", current);
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue