Benchmark changes
authorbdemsky <bdemsky>
Wed, 5 Apr 2006 22:09:21 +0000 (22:09 +0000)
committerbdemsky <bdemsky>
Wed, 5 Apr 2006 22:09:21 +0000 (22:09 +0000)
Robust/src/f.test

index 73534834e329d72333ba5fddc325fa4034fd0279..70b589591f222696ae997dbc6e6472099e12905f 100644 (file)
@@ -1,13 +1,14 @@
 public class Test {
 
-    public static int main() {
-       int j=0;
-       for(int i=0;i<10;i++) {
-               j+=i;
-               bar(j);
+    public static void main() {
+       for(int i=3;i<100000;i++) {
+               boolean flag=true;
+               for(int j=2;flag&&j<i;j++) {
+                       if ((i%j)==0)
+                            flag=false;
+               }
+//             if (flag)
+//                     System.printInt(i);
        }
-       return 0;
     }
-
-    public native static int bar(int x);
 }