<doocs>0674.Longest Continuous Increasing Subsequence_1.py
def findLengthOfLCIS( nums: List[int]) -> int:
    n = len(nums)
    res = f = 1
    for i in range(1, n):
        f = 1 + (f if nums[i - 1] < nums[i] else 0)
        res = max(res, f)
    return res
def sample_funcname ( var_0 : List [ int ] ) -> int :
    var_4 = len ( var_0 )
    var_7 = var_5 = 1
    for var_9 in range ( 1 , var_4 ) :
        var_5 = 1 + ( var_5 if var_0 [ var_9 - 1 ] < var_0 [ var_9 ] else 0 )
        var_7 = max ( var_7 , var_5 )
    return var_7
