add LC2 skeleton files for 7 ACM I/O patterns

This commit is contained in:
2026-06-06 17:31:07 +08:00
parent ec1fd8e96a
commit c19e666832
8 changed files with 451 additions and 0 deletions
+15
View File
@@ -0,0 +1,15 @@
//go:build ignore
// 读取字符串:读入一个单词,输出其长度
// 输入示例:hello
// 输出示例:5
package main
import "fmt"
func main() {
var s string
// TODO: 读入字符串 s
fmt.Println(len(s))
}