Note that there are some explanatory texts on larger screens.

plurals
  1. USTacticalCoder
    primarykey
    data
    text
    plurals
    1. CO@Óscar López: you have answered the "real" knapsack but not his problem, which seems simpler since that there's apparently no value/weight distinction in the OP's problem.
      singulars
    2. CO*"the installed Java on Linux"* [sic] doesn't mean much. You're not forced to be root to install Java on Linux and hence every user can install as many JRE (or JDK) as he want in his account. Switching from one JRE to another is as simple as doing: *export PATH=~/jdk1.6/bin:$PATH*. So you can have one user having, say, a 1.6 32-bit JVM and another having a 1.7 64-bit JVM. On correctly configured systems it's impossible to know which Java is installed in another user account. I'd rephrase: *"Is there an uniform way to detect which Java version is available from a user account?"*
      singulars
    3. CO@xanatos: when I'm talking about *"much faster"* back in the days I'm talking about the *bitwise* taking one or two CPU cycles and the modulo, using the remainder of a *div* in a register, needing close to CPU 20 cycles if not more. So when I meant *"much faster"*, I was talking about nearly *an order of magnitude faster* (10x if not much more, depending on the hardware). I'm not talking about a mere 10% which, as *delnan* pointed out, may be optimized automatically anyway nowadays ; )
      singulars
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload