全MLE求助

P1464 Function

求助dalao谢谢,挑了好久了
by Yoo_ @ 2019-02-21 11:32:24


@[我的智商贼低](/space/show?uid=114677) #### 把long long改为int
by _zby_ @ 2019-02-21 12:02:13


#### @[我的智商贼低](/space/show?uid=114677) 呸,改下头文件
by _zby_ @ 2019-02-21 12:02:52


应该是爆栈了。题目里面有讲,有时候会多次无意义重复调用,记忆化一下,应该就没问题了。
by clockwhite @ 2019-02-21 12:03:27


``` else if(a>=20||b>=20||c>=20) return w(20,20,20); ``` ``` else if(a>20||b>20||c>20) return w(20,20,20); ```
by smarthehe @ 2019-02-21 12:05:15


明显是无限调用啊
by smarthehe @ 2019-02-21 12:05:51


@[我的智商贼低](/space/show?uid=114677)
by smarthehe @ 2019-02-21 12:06:04


@[smarthehe](/space/show?uid=103732) 我忘了说我改回来了,抱歉啊大佬,总之谢谢了
by Yoo_ @ 2019-02-22 07:12:25


@[邓兆昕](/space/show?uid=68561) 兄弟你确定我没有记忆化??
by Yoo_ @ 2019-02-22 07:12:53


|