-
Notifications
You must be signed in to change notification settings - Fork 1
/
words.go
53 lines (53 loc) · 942 Bytes
/
words.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
package main
//
//import (
// "bufio"
// "bytes"
// "fmt"
// "os"
//)
//
//
//func main() {
// scanner := bufio.NewScanner(os.Stdin)
// buf := make([]byte, 1024*1024)
// scanner.Buffer(buf, 1024*1024)
// scanner.Scan()
// trimmed := bytes.TrimSpace(scanner.Bytes())
//
// if len(trimmed) == 0{
// fmt.Print(0)
// return
// }
//
// count := 1
// for _, ch := range trimmed {
// if ch == 32 {
// count = count + 1
// }
// }
// fmt.Print(count)
// //text := scanner.Text()
// //words := strings.Fields(text)
// //fmt.Println(len(words))
//}
//// fork-retest
//// fork test
//// after make pull request
//// submodule test
//// submodule add commit test
//// force push test
//// second push
//// after review
//// test merge strategy
//// 7.6.15.50
//// 7.6.15.53
//// test merge commit
//// test rebase
//// test rebase2
//// test squash
//// test squash without rebase branch
// username test
// second merge order test
// mots
// mots2