7af1217f by Ulrich Schoepp

weitere MiniJava-Beispiele

1 parent 3681db41
class Liveness {
public static void main(String[] a) {
System.out.println(new M().run());
}
}
class M {
public int run() {
int i1;
int i2;
int i3;
int i4;
int i5;
int i6;
int i7;
int i8;
int i9;
int i10;
int i11;
int i12;
int i13;
int i14;
int i15;
int i16;
int i17;
int i18;
int i19;
int i20;
int i21;
int i22;
int i23;
int i24;
int i25;
int r;
i1=2;
i2=2;
i3=2;
i4=2;
i5=2;
i6=2;
i7=2;
i8=2;
i9=2;
i10=2;
i11=2;
i12=2;
i13=2;
i14=2;
i15=2;
i16=2;
i17=2;
i18=2;
i19=2;
i20=2;
i21=2;
i22=2;
i23=2;
i24=2;
i25=2;
r = 2147483647;
r = r / i1;
r = r / i2;
r = r / i3;
r = r / i4;
r = r / i5;
r = r / i6;
r = r / i7;
r = r / i8;
r = r / i9;
r = r / i10;
r = r / i11;
r = r / i12;
r = r / i13;
r = r / i14;
r = r / i15;
r = r / i16;
r = r / i17;
r = r / i18;
r = r / i19;
r = r / i20;
r = r / i21;
r = r / i22;
r = r / i23;
r = r / i24;
r = r / i25;
return r;
}
}
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!