Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

1.10作者出题并非此意? #55

Open
zkx06111 opened this issue Jul 28, 2018 · 0 comments
Open

1.10作者出题并非此意? #55

zkx06111 opened this issue Jul 28, 2018 · 0 comments

Comments

@zkx06111
Copy link

在您的题解中给出的做法是写出代码,对于较小的n进行尝试然后找规律。
但我认为,作者出这道题的目的是让读者学会通过观察程序来了解它的执行结果(正如1.2导语所说)?
因此我觉得可以改成:
$f(n)=2n$直接观察得到。
$g(n)=f(g(n-1))=2g(n-1)=2^n$
$h(n)=g(h(n-1))=2^{h(n-1)}=2^{2^{2^{2}}}$ n个2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant