AWKãAdaãBashãBooãCãC#ãC++ãClojureãDãErlangãForthãFortranãGoãGroovyãHaskellãIoãJavaãJavaScriptãLispãLuaãOCamlãObjective-CãPHPãPascalãPerlãPikeãPrologãPythonãRãRubyãScalaãSchemeãSmalltalkãTcl ã§ãã£ããããæ°ãæ±ããå¦çæéãè¨æ¸¬ãã¦ã¿ã¾ããã ãã£ããããæ°ã¯æ¼¸åå¼ã§æ±ãããã¾ãã F0 = 0 F1 = 1 Fn+2 = Fn+1 + Fn ãã£ããããæ°ãæ±ããã¢ã«ã´ãªãºã ã¯ããããããã¾ãããä»åã¯ä»¥ä¸ã®å帰ã§æ±ããã¢ã«ã´ãªãºã ã§çµ±ä¸ãã¾ããã #include <stdio.h> int fib(int n) { if (n < 2) return n; return fib(n - 2) +
{{#tags}}- {{label}}
{{/tags}}