projects
/
IRC.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
120bdf5
)
Benchmark changes
author
bdemsky
<bdemsky>
Wed, 5 Apr 2006 22:09:21 +0000
(22:09 +0000)
committer
bdemsky
<bdemsky>
Wed, 5 Apr 2006 22:09:21 +0000
(22:09 +0000)
Robust/src/f.test
patch
|
blob
|
history
diff --git
a/Robust/src/f.test
b/Robust/src/f.test
index 73534834e329d72333ba5fddc325fa4034fd0279..70b589591f222696ae997dbc6e6472099e12905f 100644
(file)
--- a/
Robust/src/f.test
+++ b/
Robust/src/f.test
@@
-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);
}