2018-01-31 16:15:07 +01:00
|
|
|
import java.lang.Integer;
|
|
|
|
|
2017-06-26 16:59:10 +02:00
|
|
|
class Faculty {
|
|
|
|
|
2017-06-28 17:20:26 +02:00
|
|
|
Integer mul(Integer x, Integer y) {
|
|
|
|
return x;
|
|
|
|
}
|
|
|
|
|
2018-02-28 15:21:12 +01:00
|
|
|
m () {
|
2017-09-25 23:47:38 +02:00
|
|
|
var fact = (Integer x) -> {
|
2017-06-28 17:20:26 +02:00
|
|
|
return mul(x, fact.apply(x));
|
2017-06-26 16:59:10 +02:00
|
|
|
};
|
|
|
|
return fact;
|
|
|
|
}
|
2018-01-31 18:38:52 +01:00
|
|
|
}
|