-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathcode.fib_iter.89
More file actions
55 lines (50 loc) · 829 Bytes
/
code.fib_iter.89
File metadata and controls
55 lines (50 loc) · 829 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
function b(a:integer):boolean{
var b:boolean;
if(a < 15 && a >= 2){
b = true;
}else{
b = false && b;
}
return b;
}
function a(a:integer):integer{
var i:integer;
var numbers:intarray[16];
var continue, inRange:boolean;
i = 2;
if(true){
if(true){
if(false){
i = 7969;
}else{
numbers[i - 1] = 1;
numbers[i - 2] = numbers[i - 1];
numbers[a - 1] = -1;
}
}else{
i = 12312;
}
}
inRange = b(a);
if(inRange){
continue = true || continue;
}else{
continue = false;
}
while(continue){
numbers[i] = numbers[i - 1] + numbers[i - 2];
i = i + 1;
continue = i < a;
while(false && continue){
i = 213498124;
}
}
return numbers[a - 1];
}
function Main():integer{
var c:intarray[5];
c[0] = 2;
c[c[0]] = c[0] * 5 + 1;
c[c[0] + 1] = a(c[c[0]]);
return c[c[0] + 1];
}