This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import java.util.ArrayList; | |
import java.util.List; | |
import java.util.Scanner; | |
import javax.script.ScriptEngine; | |
import javax.script.ScriptEngineManager; | |
import javax.script.ScriptException; | |
public class Main { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import java.util.List; | |
import java.util.OptionalInt; | |
import java.util.Scanner; | |
import java.util.stream.Collectors; | |
import java.util.stream.IntStream; | |
public class Main { | |
/** | |
* 全ての会社を選択した場合の人数 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import java.util.ArrayList; | |
import java.util.List; | |
import java.util.Scanner; | |
public class Main { | |
/** | |
* 添字人数になるように会社を選んだ組み合わせの時の総コスト。 | |
* {@link #NOT_ASSIGNED} の場合はそのような組み合わせは存在しない。 | |
*/ | |
static int[] costByNumOfMember; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import java.lang.annotation.Annotation; | |
import java.lang.reflect.Method; | |
public class ECJProblem { | |
private static final String nantoka = "kantoka"; | |
public String doSomething(@TestAnnotation(nantoka) String nantoka) { | |
return "doushita"; | |
} |
NewerOlder