Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for countPeano (0.1 sec)

  1. test/fixedbugs/issue4316.go

    	if n == 0 {
    		return nil
    	}
    	p := Peano(makePeano(n - 1))
    	return &p
    }
    
    var countArg Peano
    var countResult int
    
    func countPeano() {
    	if countArg == nil {
    		countResult = 0
    		return
    	}
    	countArg = *countArg
    	countPeano()
    	countResult++
    }
    
    var s = "(())"
    var pT = 0
    
    func p() {
    	if pT >= len(s) {
    		return
    	}
    	if s[pT] == '(' {
    		pT += 1
    		p()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 02 13:43:18 UTC 2016
    - 972 bytes
    - Viewed (0)
Back to top