We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 8fe2d5f + e6e138c commit a568a92Copy full SHA for a568a92
main/1200-1299/1225D.go
@@ -25,7 +25,8 @@ func CF1225D(_r io.Reader, out io.Writer) {
25
ans := int64(0)
26
cnt := map[string]int{} // 或者用 [6]int 来代替 string,下面改成 p<<8|e 和 p<<8|(k-e)
27
for Fscan(in, &n, &k); n > 0; n-- {
28
- var s, t []byte
+ s := []byte{}
29
+ t := []byte{}
30
Fscan(in, &v)
31
for v > 1 {
32
p, e := lpf[v], 1
0 commit comments