online compiler and debugger for c/c++

code. compile. run. debug. share.
Source Code    Language
import Data.List --Create all possible rolls (and pick the better one) rolls = sort [max x y | x <- [1..20],y <- [1..20]] l = length rolls -- Return the 2 middle main = putStr $ "All rolls:\n" ++ (show rolls) ++ "\n Middle 2 rolls:\n" ++ (show (take 2 $ (drop (l `div` 2 -1)) rolls))

Compiling Program...

Command line arguments:
Standard Input: Interactive Console Text



Program is not being debugged. Click "Debug" button to start program in debug mode.