26 System.loadLibrary(
"jniortools");
29 public static void main(String[] args)
throws Exception {
45 System.out.println(solver.
value(r) +
" rabbits, and " + solver.
value(p) +
" pheasants");
In a field of rabbits and pheasants, there are 20 heads and 56 legs.
static void main(String[] args)