登录
|
注册
公司
标签
文章
搜索
大众点评
所有
有回答
没回答
新题目
有最佳答案
排序
热度
·
时间
·
经典指数
0
0
2039
#include <iostream> using namespace std; int f(int n){ if (n==1) return 1; else return (f(n-1)+n*n*n); } int main(){ int s=f(3); cout<<s<<endl; return 0; } 运行结果是? ...
阅读题目
内容运营
用户运营
C/C++
2016
大众点评
单选题
经典指数
0
0
1365
#include <iostream> using namespace std; int f(int n){ if (n==1) return 1; else return (f(n-1)+n*n*n); } int main(){ int s=f(3); cout<<s<<endl; return 0; } 运行结果是? 8 9 27 36 ...
阅读题目
2016
大众点评
C/C++
单选题
经典指数
0
0
1671
一个节点数>5的树,至少删去几个结点才可以使该树不连通? 0 1 2 3 ...
阅读题目
2016
大众点评
树
单选题
经典指数
0
0
2924
关于以下程序代码的说明正确的是() public class HasStatic {// 1 private static int x = 100;// 2 public static void main(String args[]) {// 3 HasStatic hsl = new HasStatic();// 4 hsl.x++;// 5 HasStatic hs2 = new HasStatic();// 6 hs2.x++;// 7 hsl = new HasStatic();// 8 hsl.x++;// 9 HasStatic.x--;// 10 System.out.println(" x=" + x);// 11 } } 程序通过编译,输出结果为:x=102 程序通过编译,输出结果为:x=103 10行不能通过编译.因为x星私有静态变量 5行不能通过编译.因为引用了私有静态变量 ...
阅读题目
2016
大众点评
java
单选题
经典指数
0
0
5273
如下图所示,1~9诸数各有一个规定的符号,请据此回答下列问题。 1 2 3 4 5 6 7 8 9 ( = / × \ + - ) 9与什么符号相对应? ÷ + — \ ...
阅读题目
2016
智力题
大众点评
单选题
经典指数
0
0
4725
public interface IService {String NAME="default";} 默认类型等价表示是哪一项: public String NAME="default"; public static String NAME="default"; public static final String NAME="default"; private String NAME="default"; ...
阅读题目
2016
大众点评
java
单选题
经典指数
0
0
2222
一个二叉树,前序遍历结果是:a b d g c e f h;中序遍历结果是:d g b a e c f h 求后序遍历结果是: g d b c e h f a g d b e h f c a d g b a c e f h g h d e f b c a ...
阅读题目
2016
大众点评
树
单选题
经典指数
0
0
1796
多个线程可同时操作一个数据,为了保证该数据的准确性,可将操作该数据的部分改为: 只写 只读 异步 同步 ...
阅读题目
2016
并发
大众点评
单选题
经典指数
0
0
1740
#include<iostream> #include<string> using namespace std; class A { friend long fun(A s) { if (s.x<3) { return 1; } return s.x+fun(A(s.x - 1)); } public: A(long a) { x = a--; } private: long x; }; int main() { int sum=0; for( int i=0; i<5; i++) { sum += fun(A(i)); } cout<<sum; } 代码运行结果是? 21 15 9 36 ...
阅读题目
2016
大众点评
C/C++
单选题
经典指数
0
0
1579
有以下程序 #include<iostream> #include<stdio.h> using namespace std; int main(){ int m=0123, n = 123; printf("%o %o\n", m, n); return 0; } 程序运行后的输出结果是() 0123 0173 0123 173 123 173 173 173 ...
阅读题目
2016
大众点评
C/C++
单选题
经典指数
1
2
13
题目数
1
贡献者
59
答案数
扫描后移动端查看
我也分享一个题目
相关标签
2016
智力题
C/C++
java
树
用户运营
编程基础
内容运营
贪心
字符串
同类标签
腾讯
阿里巴巴
百度
网易
小米
华为
迅雷
微软
奇虎360
搜狐
微信公众号
欢迎加入,一起群聊
×
登录
注册
找回密码
记住登录
登录
快速注册
直接第三方登录