6 
 
        
      
      ทำคะแนนเส้นทางการแกว่งเถาไวน์ของทาร์ซาน
      
  เถาองุ่นโอลิมปิกดำเนินการตามปกติในต้นไม้มาตรฐาน โดยเฉพาะอย่างยิ่งแผนภูมิมาตรฐานnมีจุดยอดสำหรับการ0ขึ้นn-1และขอบการเชื่อมโยงจุดยอดที่ไม่ใช่ศูนย์แต่ละจุดaกับจุดยอดn % aด้านล่าง ตัวอย่างเช่นต้นไม้มาตรฐาน 5 มีลักษณะดังนี้: 3 | 2 4 \ / 1 | 0 เนื่องจากส่วนที่เหลือเมื่อ 5 ถูกหารด้วย 3 คือ 2 ส่วนที่เหลือเมื่อ 5 ถูกหารด้วย 2 หรือ 4 คือ 1 และส่วนที่เหลือเมื่อ 5 ถูกหารด้วย 1 คือ 0 ในปีนี้ทาร์ซานจะได้รับการปกป้องทองของเขากับการปฏิบัติใหม่ซึ่งแต่ละเริ่มต้นที่ยอดn - 1ชิงช้าจุดสุดยอดn - 2ยังคงจุดสุดยอดn - 3ฯลฯ 0จนในที่สุดเขาปลดจุดสุดยอด คะแนนสำหรับกิจวัตรประจำวันคือผลรวมของคะแนนสำหรับการสวิงแต่ละครั้ง (รวมถึงการลงจากหลังม้า) และคะแนนสำหรับการสวิงคือระยะทางภายในต้นไม้ระหว่างจุดเริ่มต้นและจุดสิ้นสุด ดังนั้นรูทีนของทาร์ซานบนต้นไม้มาตรฐาน 5 มีคะแนน …
      
        
          
                   32
                
        
        
          
                  
                    code-golf 
                  
                    math 
                  
                    number 
                  
                    number-theory 
                  
                    code-golf 
                  
                    code-golf 
                  
                    restricted-source 
                  
                    programming-puzzle 
                  
                    css 
                  
                    code-golf 
                  
                    parsing 
                  
                    code-golf 
                  
                    random 
                  
                    encryption 
                  
                    code-golf 
                  
                    ascii-art 
                  
                    fractal 
                  
                    code-golf 
                  
                    math 
                  
                    code-golf 
                  
                    sorting 
                  
                    graph-theory 
                  
                    path-finding 
                  
                    permutations 
                  
                    code-golf 
                  
                    tetris 
                  
                    code-golf 
                  
                    card-games 
                  
                    code-golf 
                  
                    math 
                  
                    sequence 
                  
                    rational-numbers 
                  
                    code-golf 
                  
                    chess 
                  
                    code-golf 
                  
                    string 
                  
                    geometry 
                  
                    grid 
                  
                    code-golf 
                  
                    ascii-art 
                  
                    grid 
                  
                    code-golf 
                  
                    sequence 
                  
                    integer 
                  
                    code-golf 
                  
                    math 
                  
                    number-theory 
                  
                    packing 
                  
                    polyomino 
                  
                    code-golf 
                  
                    math 
                  
                    code-golf 
                  
                    string 
                  
                    quine 
                  
                    permutations 
                  
                    code-golf 
                  
                    math 
                  
                    code-golf 
                  
                    image-processing 
                  
                    optical-char-recognition 
                  
                    code-golf 
                  
                    string 
                  
                    kolmogorov-complexity 
                  
                    sequence 
                  
                    integer 
                  
                    code-golf 
                  
                    number 
                  
                    permutations 
                  
                    palindrome 
                  
                    code-golf 
                  
                    kolmogorov-complexity 
                  
                    code-golf 
                  
                    number 
                  
                    sequence 
                  
                    string 
                  
                    fewest-operations 
                  
                    code-golf 
                  
                    string 
                  
                    kolmogorov-complexity 
                  
                    sequence 
                  
                    primes 
                  
                    code-golf 
                  
                    string 
                  
                    ascii-art 
                  
                    code-golf 
                  
                    string 
                  
                    number 
                  
                    alphabet 
                  
                    code-golf 
                  
                    counting 
                  
                    code-golf 
                  
                    number 
                  
                    sequence 
                  
                    number-theory 
                  
                    primes 
                  
                    code-golf 
                  
                    subsequence 
                  
                    word-search