The bit on the left initializes the blank variable and x to one, and the bit on the right does the Fibonaccing. Prints terms indefinitely with no separator. outputs the result.įor a better explanation, visit the site and it will give a visual representation of all the numbers. What it does is take the number it is given, then push that number and 1 less than that number to the input. The line $< is the same as $< because edges wrap. Q sends it down if a number is greater than 0, forward otherwise. Var answer = jQuery("#answer-template").html() Īnswer = answer.replace("Link Var OVERRIDE_REG = /^Override\s*header:\s*/i īody = '' + c.body.replace(OVERRIDE_REG, '') + '' Url: commentUrl(comment_page++, answer_ids),Īnswers_(c) If (!data.has_more) more_answers = false Return "" + answers.join(' ') + "/comments?page=" + index + "&pagesize=100&order=desc&sort=creation&site=codegolf&filter=" + COMMENT_FILTER Return "" + QUESTION_ID + "/answers?page=" + index + "&pagesize=100&order=desc&sort=creation&site=codegolf&filter=" + ANSWER_FILTER Var answers =, answers_hash, answer_ids, answer_page = 1, more_answers = true, comment_page Var OVERRIDE_USER = 3 // This should be the user ID of the challenge author. Var COMMENT_FILTER = "!)Q2B_A2kjfAiU78X(md6BoYk" Var ANSWER_FILTER = "!t)IWYnsLAZle2tQ3KqrVveCRJfxcRLe" Var QUESTION_ID = 85 // Obtain this from the url
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |