about summary refs log tree commit diff
path: root/others/other/gc.go
blob: 38473a2da45dfdbe1df2082dc578a97741ec8c54 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
package main

import "fmt"

func main() {
	var c int32
	fmt.Scan(&c)
	k := c/4 + 1
	println(k)
	for ; k > 0; k-- {
		println(c/2-k*2+2, k)
	}
}