You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
394 B
16 lines
394 B
package generator;
|
|
|
|
import util.ExpressionUtils;
|
|
import java.util.*;
|
|
|
|
public class HighGenerator implements ProblemGenerator {
|
|
@Override
|
|
public List<String> generateProblems(int count) {
|
|
List<String> problems = new ArrayList<>();
|
|
for (int i = 1; i <= count; i++) {
|
|
problems.add(ExpressionUtils.generateHighExpr());
|
|
}
|
|
return problems;
|
|
}
|
|
}
|