皮皮学,免费搜题
登录
logo - 刷刷题
搜题
【简答题】
写出下列程序的运行结果。 #include using namespace std; int fun(int x) { if(x <= 0) { return 0; } else return x * x + fun(x - 1); } int main( ) { int x = fun(3); cout << x << endl; return 0; }
手机使用
分享
复制链接
新浪微博
分享QQ
微信扫一扫
微信内点击右上角“…”即可分享
反馈
参考答案:
举一反三
【单选题】n阶有向图G= 是强连通图,当且仅当()
A.
G中至少有一条通路
B.
G中有通过每个顶点至少一次的通路
C.
G中至少有一条回路
D.
G中有通过每个顶点至少一次的回路
【判断题】有向图D是单向连通的当且仅当D有一条生成通道。
A.
正确
B.
错误
【简答题】有向图D是连通图,当且仅当( )。
【简答题】判断句子正误,正确的用“T”表示,错误的用“F”表示。 (     ) 1. She wears a yellow T-shirt. (     ) 2. We are staying at the Holiday Hotel. (     ) 3. What is the weather there ? (     ) 4. What are you going to do there ? ( ...
【简答题】判断句子正误,正确的用“T”表示,错误的用“F”表示。 (      ) 1. We are going have a football match. (      ) 2. My mother is going to washed clothes. (      ) 3. You look sad today. (      ) 4. He passes it to Mike. (      )...
【简答题】根据短文内容,判断下列句子的正误,正确的用“T”,错误的用“F'。 Scientists are trying to make the deserts into good land again. They want to bring water to the deserts, so people can live and grow food. They are learning a lot. ab...
【单选题】在假设检验中,如果所计算出的 p 值越小,说明( )
A.
否定原假设证据越充分
B.
否定原假设证据越不充分
C.
原假设越真实
D.
备则假设越不真实
【单选题】有向图D是连通图,当且仅当( )。
A.
图D中至少有一条通路
B.
图D中有通过每个顶点至少一次的通路
C.
图D的连通分支数为一
D.
图D中有通过每个顶点至少一次的回路
【简答题】判断正误,正确的用“T”表示,错误的用“F”表示。 (     ) 1. In Monday we saw elephants. (     ) 2. Yesterday we bought presents. (     ) 3. Now we are climbing a mountain. (     ) 4. She listened music last weekend. (     )...
【简答题】阅读理解,判断正误,正确的用“T”表示,错误的用“F”表示。 Mr Brown looks out of the window. There is a boy in the street. He is eating a sandwich. There is a dog in the street, too. The boy says, ' Come here, good dog. I am goi...
相关题目:
参考解析:
知识点:
题目纠错 0
发布
创建自己的小题库 - 刷刷题