3 public class Benchmark
{
5 public static int Run ()
8 int[] fibs
= new int [count
+ 1];
15 for(index
= 2; index
<= count
; ++index
)
17 fibs
[index
] = fibs
[index
- 2] + fibs
[index
- 1];
20 for(index
= 0; index
<= count
; ++index
)
22 for(index2
= 1; index2
<= count
; ++index2
)
24 if(fibs
[index2
- 1] < fibs
[index2
])
28 fibs
[ti
] = fibs
[index2
];
37 public static int Main () {
38 for (int i
= 0; i
< 1000000; i
++)
39 if (Run () != 3524578)