@[52dyd](/space/show?uid=42179)
"输入的数在-9223372036854775808~9223372036854775807之间"
数组小了
by Niscet @ 2017-08-24 08:59:15
@[汪添翼](/space/show?uid=24617) 这数组开21^3不就够了吗?
by d3NtMDAw @ 2017-08-24 09:25:20
@[wusimin000](/space/show?uid=32196) 抱歉,看错了。我帮你看下测试数据吧
by Niscet @ 2017-08-24 09:29:25
@[wusimin000](/space/show?uid=32196)
#测试点 1 输入:
```cpp
0 0 0
1 1 1
2 2 2
10 4 6
50 50 50
-1 7 18
17 17 18
19 17 18
21 -21 20
-1 -1 -11
-1 -1 -1
```
输出:
```cpp
w(0, 0, 0) = 1
w(1, 1, 1) = 2
w(2, 2, 2) = 4
w(10, 4, 6) = 523
w(50, 50, 50) = 1048576
w(-1, 7, 18) = 1
w(17, 17, 18) = 131072
w(19, 17, 18) = 524271
w(21, -21, 20) = 1
w(-1, -1, -11) = 1
``
by Niscet @ 2017-08-24 09:30:43
输出发错了,应该是:
```cpp
w(0, 0, 0) = 1
w(1, 1, 1) = 2
w(2, 2, 2) = 4
w(10, 4, 6) = 523
w(50, 50, 50) = 1048576
w(-1, 7, 18) = 1
w(17, 17, 18) = 131072
w(19, 17, 18) = 524271
w(21, -21, 20) = 1
w(-1, -1, -11) = 1
```
by Niscet @ 2017-08-24 09:31:19
@[汪添翼](/space/show?uid=24617) 我不是楼主,不过反正我想写这题
by d3NtMDAw @ 2017-08-24 09:32:01
@[汪添翼](/space/show?uid=24617) 怎么发图片【pic=1】
by d3NtMDAw @ 2017-08-24 09:32:50
@[汪添翼](/space/show?uid=24617) 谢大佬
这就去改程序
by 52dyd @ 2017-08-24 09:48:56
![](https://cdn.luogu.com.cn/upload/pic/7327.png)
50 50 50那个出来了莫名其妙的东西。。。。。wozaiqukankan
@汪添翼
by 52dyd @ 2017-08-24 09:58:10