diff options
Diffstat (limited to 'others/other/gc.go')
-rw-r--r-- | others/other/gc.go | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/others/other/gc.go b/others/other/gc.go new file mode 100644 index 0000000..38473a2 --- /dev/null +++ b/others/other/gc.go @@ -0,0 +1,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) + } +} |