C++與演算法

題目 - 有幾位數

輸入一個 正整數n

請輸出 n 是幾位數

[input]

101
2016
20160101

[output]

3
4
8