fork download
  1. fusc' 0=(1,0)
  2. fusc' n
  3. |even n=(a+b, b)
  4. |odd n=(a,a+b)
  5. where
  6. (a,b)=fusc' $n`div`2
  7. fusc =fst.fusc'
  8. main=
  9. problem_169=fusc (10^25)
Compilation error #stdin compilation error #stdout 0s 0KB
stdin
Standard input is empty
compilation info
[1 of 1] Compiling Main             ( prog.hs, prog.o )

prog.hs:9:1: error:
    parse error (possibly incorrect indentation or mismatched brackets)
stdout
Standard output is empty