Data update
This commit is contained in:
parent
5150844a7d
commit
4bb20c9b71
7735 changed files with 38060 additions and 199180 deletions
|
|
@ -33,7 +33,7 @@ extension mathOp
|
|||
|
||||
while (n != 0)
|
||||
{
|
||||
ifnot (n.isPrime())
|
||||
if:not (n.isPrime())
|
||||
{ ^ false };
|
||||
|
||||
n := n / 10
|
||||
|
|
@ -52,7 +52,7 @@ extension mathOp
|
|||
|
||||
while (n != 0)
|
||||
{
|
||||
ifnot (n.isPrime())
|
||||
if:not (n.isPrime())
|
||||
{ ^ false };
|
||||
|
||||
tens := tens / 10;
|
||||
|
|
@ -63,7 +63,7 @@ extension mathOp
|
|||
}
|
||||
}
|
||||
|
||||
public program()
|
||||
public Program()
|
||||
{
|
||||
var n := MAXN;
|
||||
var max_lt := 0;
|
||||
|
|
@ -87,8 +87,8 @@ public program()
|
|||
n := n - 1
|
||||
};
|
||||
|
||||
console.printLine("Largest truncable left is ",max_lt);
|
||||
console.printLine("Largest truncable right is ",max_rt);
|
||||
Console.printLine("Largest truncable left is ",max_lt);
|
||||
Console.printLine("Largest truncable right is ",max_rt);
|
||||
|
||||
console.readChar()
|
||||
Console.readChar()
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue