判断·string 的 length 与 empty

judge 难度 2

#string

非空字符串的 empty() 返回什么?

题目

对 string s = "abc",s.length() 为 3,且 s.empty() 返回 false。
来小码星球,动手写一遍 →