21 lines
No EOL
499 B
Text
Executable file
21 lines
No EOL
499 B
Text
Executable file
class Main {
|
|
void main() {
|
|
int a, b, c, d, e;
|
|
|
|
a = 10;
|
|
b = -1;
|
|
c = 0;
|
|
d = 100;
|
|
e = 2;
|
|
|
|
write(a / b); writeln();
|
|
write(d / e); writeln();
|
|
write(c / d); writeln();
|
|
write(b / a + c); writeln();
|
|
write(d / e * a / b * c); writeln();
|
|
write(d / e * a / b); writeln();
|
|
write(d / e + a / b); writeln();
|
|
write(d / e * a * b * c); writeln();
|
|
write(d / e * a - b + c); writeln();
|
|
}
|
|
} |