Given a binary string s, return the total number of substrings consisting solely of the character $'1'$. Since the result can be large, return it modulo
Constraints:
s.length
s[i] is either $'0'$ or $'1'$.
Given a binary string s, return the total number of substrings consisting solely of the character $'1'$. Since the result can be large, return it modulo
Constraints:
s.length
s[i] is either $'0'$ or $'1'$.