登录
|
注册
公司
标签
文章
搜索
阿里巴巴
C语言工程师
所有
有回答
没回答
新题目
有最佳答案
排序
热度
·
时间
·
经典指数
1
0
3807
以下关于STL的描述中,____是错的。 STL容器是线程不安全的 当容量不够时,vector内部内存扩展方式是翻倍 std::sort是稳定排序 std::bitset不是一个STL容器 std::stack默认是用deque实现的 std::string中可以存储多个’\0’字符 ...
阅读题目
2015
阿里巴巴
C语言工程师
单选题
经典指数
1
0
3413
在32位机器上,下列代码中 sizeof(a)的值是() 20 21 22 24 非以上选项 ...
阅读题目
阿里巴巴
2010
C语言工程师
Windows
单选题
经典指数
1
0
4676
以下函数中,和其他函数不属于一类的是____。 fwrite putc pwrite putchar getline scanf ...
阅读题目
阿里巴巴
2016
研发工程师
Linux
C语言工程师
单选题
经典指数
1
0
3625
有一个类B继承自类A,他们数据成员如下: class A { ... private: int &a; }; class B : public A { ... private: int a; public: const int b; A c; static const char* d; A* e; }; 则构造函数中,成员变量一定要通过初始化列表来初始化的是____。 b c b c e b c d e c e b d b e ...
阅读题目
阿里巴巴
2016
研发工程师
C语言工程师
单选题
经典指数
1
0
3306
有一个类A,其数据成员如下: class A { ... private: int a; public: const int b; float* &c; static const char* d; static double* e; }; 则构造函数中,成员变量一定要通过初始化列表来初始化的是:______。 a b c b c b c d e b c d b c ...
阅读题目
阿里巴巴
2016
研发工程师
C语言工程师
单选题
经典指数
1
0
2998
给定一个query和一个text,均由小写字母组成。要求在text中找出以同样的顺序连续出现在query中的最长连续字母序列的长度。例如,query为 "acbac",text为"acaccbabb",那么text中的"cba"为最长的连续出现在query中的字母序列,因此,返回结果应该为其长度3。请注意程序效率。 ...
阅读题目
2015
阿里巴巴
C语言工程师
字符串
问答题
经典指数
0
0
2529
int func(unsigned int i) { unsigned int temp = i; temp = (temp & 0x55555555) + ((temp & 0xaaaaaaaa) >> 1); temp = (temp & 0x33333333) + ((temp & 0xcccccccc) >> 2); temp = (temp & 0x0f0f0f0f) + ((temp & 0xf0f0f0f0) >> 4); temp = (temp & 0x00ff00ff) + ((temp & 0xff00ff00) >> 8); temp = (temp & 0x0000ffff) + ((temp & 0xffff0000) >> 16); return temp; } 请问 func(0x11530828)的返回值是: 1 ...
阅读题目
阿里巴巴
基础知识
C语言工程师
填空题
经典指数
1
0
2604
如下函数,在32bits系统foo(2^31-3)的值是_______(这里的^是指数的意思) int foo (int x) return x & -x 0 1 2 4 ...
阅读题目
阿里巴巴
C语言工程师
编译和体系结构
单选题
经典指数
1
0
3380
给定如下代码: int x[4]={0}; int y[4]={1}; 数组x和y的值为() {0,0,0,0},{1,1,1,1} {0,0,0,0},{1,0,0,0} {0,不确定},{1,不确定} 与编译器相关 ...
阅读题目
阿里巴巴
2010
C语言工程师
数组
单选题
经典指数
1
0
1824
阅读如下的程序: #include <iostream> using namespace std; struct B { int i; virtrual int f() { cout << "1"; return 1; } virtual const B &f() const { cout << "2"; return *this; } int g() { cout << "3"; return 3; } }; struct D: B { int i; int f() { cout << "4"; return 4; } const B &f() const { cout << "5"; return *this; ...
阅读题目
阿里巴巴
C语言工程师
单选题
经典指数
1
2
3
4
5
45
题目数
1
贡献者
45
答案数
扫描后移动端查看
我也分享一个题目
"阿里巴巴"公司热门职位
研发工程师
数理统计
机器学习
软件研发工程师
Android
测试工程师
Hadoop
iOS
自然语言处理
"C语言工程师"
职位热门公司
迅雷
腾讯
百度
奇虎360
微软
华为
网易
搜狐
京东
小米
×
登录
注册
找回密码
记住登录
登录
快速注册
直接第三方登录