<< 59/89 >>
First Last

Brainfuck

大規模なコードを書いたりゴルフしたりすると結構大変

例えば cal(3) とかくらいなら頑張れば書ける

http://d.hatena.ne.jp/shinichiro_h/20070811#1186766982

  >>>>>>>>>>>>>>>>>>>>>,--
  [->,-----]
  <+<[->++++++++++<]<<[->++++++++++<]<<<,
  <,+
  [--[--[->+<]]]>[-<+<+>>>>+<<]<<
  <<<-<-<<<-<--<--<-<-<----<-
  [>]>-[-<<[<]>[+]>[>]>]-<<<[>[+]<<]>>+[-<[+>-<]>>+]>[-<<<<+>>>>]<<<<
  <<-<--<-<--<-<-<--<-<--<-<----<-[>]>-[-<<[<]>[+]>[>]>]-
  <<[>[+]<<]>>+[-<[+>-<]>>+]<++++++++++++++++++++++++++++++++>>>>>>>>
  >>[-<+>>>>>>>+<<<<<<]>>>>>>
  [>[-]>[-]>[-]>[-]<<<<<<++++<+>[->>[>]+[<]>-<<]>>]>[>]<<[>-<[<]>+[>]<<]
  >[-<<<+>>>]<<<----[++++<->>]<[<]
  >-[-<+>>>>>>>+<<<<<<]>>>>>>++++
  [>[-]>[-]>[-]>[-]<<<<<<++++<+>[->>[>]+[<]>-<<]>>]>[>]<<[>-<[<]>+[>]<<]
  >[-<<<+>>>]<<<----[++++<->>]<<<<<<<<<[<]>>>>>>>>-
  [-<<+>>]<<<<[-<+<<<+>>>>]>>[-<<<+>>>]<<<[->+<]<[->+>+++++<<]>>
  <<<<<+>[<->>>>>>+>>>>[<<<<->>>>[-]]<<<<<<<<<[-]]
  <[->>>>>>+>>[<<->>[-]]<<<<<<<<]>>>>>
  >[-<<<<[+[+[+[+[+[+[+[+[+[>>>-<<<
  ++[<<<<<<<<+>>>>>>>>-][+]]]]]]]]]]]>>>>]<
  -<<<<<<<<[+>>>>>>>>+<<<<<<<<]>>>>>>>>[->>>>>>>>>+<<<<<<<<<]>>>>>>>>>
  [>[-]>[-]>[-]>[-]>[-]>[-]>[-]<<<<<<<<<+++++++<+>
  [->>[>]+[<]>-<<]>>]>[>]<<[>-<[<]>+[>]<<]>[-<<<+>>>]<<<<+>
  -[+++++++>>+<]>[<]>[-]<<[->+>+<<]>>
  >++++++++++++++++++++++++++++++++<[->...<]>[-]<+<-<[-]>
  ><<<<<<<<<<<<<<<<<<<<[>>>>>>>>>>>>>>>>>>>>
  [->+>+>+<<<]>>>-[-[-[-[-[-[-[-[-[[-]<
  [->>>+<<<]>>>[>>>>>>>>>>>>>>>>>>>>+<<<<<<<<<<<<<<<<<<<<
  >[-]>[-]>[-]>[-]>[-]>[-]>[-]>[-]>[-]>[-]<<<<<<<<<<<<++++++++++<+>
  [->>[>]+[<]>-<<]>>]>[>]<<[>-<[<]>+[>]<<]
  >----[++++++++++<>>>>>>>>>>>>>>>>>>>>-
  <<<<<<<<<<<<<<<<<<<<]<<<[>]>>>>>>>>>>>>>>>>>>>>>>
  ++++++++++++++++++++++++++++++++++++++++++++++++.[-]
  <<<<<<<<<<<<<<<<<<<<>++++++++++++++++++++++++++++++++++++++++++++++++.
  [-]<[-]<<<[-]]]]]]]]]]<[<]>>
  [>++++++++++++++++++++++++++++++++.[-]<
  ++++++++++++++++++++++++++++++++++++++++++++++++.[-]]<<<
  +[>>>++++++++++++++++++++++<<<<]>>[<<->]
  >>++++++++++.[-]<[-<+>]<+[->+>+<<]>[-<+>]>[-]<<<<<<<<<<<<<<<<<<<<<<-]