These worked for Debian 8.2.

For the C# version:
    apt-get install mono-gmcs
    apt-get install libmono-system-numerics4.0-cil

For the Haskell version:
    apt-get install ghc
    apt-get install cabal-install
    cabal update
    cabal install ReadArgs

For the Java version:
    apt-get install openjdk-7-jdk