Files
acm-code/LC2/5.go
T

16 lines
229 B
Go

//go:build ignore
// 读取字符串:读入一个单词,输出其长度
// 输入示例:hello
// 输出示例:5
package main
import "fmt"
func main() {
var s string
// TODO: 读入字符串 s
fmt.Println(len(s))
}