projects
/
IRC.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
a new tiny test and better SESE node printing
[IRC.git]
/
Robust
/
src
/
Tests
/
mlp
/
tinyTest
/
test.java
1
public class Test {
2
3
public static void main( String args[] ) {
4
5
int n = 10;
6
7
sese {
8
9
int[] a = new int[n];
10
int[] b = new int[n];
11
int[] c = new int[n];
12
13
for( int i = 0; i < n; ++i ) {
14
sese {
15
a[i] = i;
16
b[i] = n - i;
17
}
18
}
19
20
for( int j = 0; j < n; ++j ) {
21
sese {
22
c[j] = a[j] + b[j];
23
}
24
}
25
26
int total = 0;
27
for( int k = 0; k < n; ++k ) {
28
sese {
29
total = total + c[k];
30
}
31
}
32
33
System.out.println( "total is "+total );
34
}
35
36
}
37
}