登录
|
注册
公司
标签
文章
搜索
微软
热门职位
C语言工程师
研发工程师
测试工程师
C#工程师
所有
有回答
没回答
新题目
有最佳答案
排序
热度
·
时间
·
经典指数
0
0
1977
小明一家过一座桥,过桥时是黑夜,所以必须有灯。现在小明过桥要1秒,小明的弟弟要 3秒,小明的爸爸要6秒,小明的妈妈要8秒,小明的爷爷要12秒。每次此桥最多可过两人, 而过桥的速度依过桥最慢者而定,而且灯在点燃后30秒就会熄灭。问:小明一家如何过桥? ...
阅读题目
微软
智力题
问答题
经典指数
0
0
1977
Which of the following method(s) could be used to optimize the speed of a program ? Improve memory access pattern to decrease cache misses. Use special instructions(e.g. vector instructions) to replace compiler generated assembly code. Change an algorithm from recursive implementation to iterative implementation. Loop unwinding. ...
阅读题目
微软
研发工程师
编译和体系结构
多选题
经典指数
0
0
1928
There are two int variables: a and b, don’t use “if”, “? :”, “switch”or other judgement statements, find out the biggest one of the two numbers. ...
阅读题目
微软
基础知识
C语言工程师
问答题
经典指数
0
0
1899
如何判断一个单链表是有环的?(注意不能用标志位,最多只能用两个额外指针) ...
阅读题目
微软
链表
问答题
经典指数
0
0
1886
在C++ 程序中调用被C编译器编译后的函数,为什么要加extern “C”? ...
阅读题目
微软
C语言工程师
问答题
经典指数
0
0
1829
不利用浮点运算,在屏幕上画一个圆 (x**2 + y**2 = r**2,其中 r 为正整数)。 ...
阅读题目
微软
智力题
复杂度
问答题
经典指数
0
0
1810
一个没有排序的链表,比如list={a,l,x,b,e,f,f,e,a,g,h,b,m},请去掉重复项,并保留 原顺序,以上链表去掉重复项后为newlist={a,l,x,b,e,f,g,h,m},请写出一个高效算法(时间 比空间更重要)。 ...
阅读题目
微软
哈希
复杂度
问答题
经典指数
0
0
1799
如何打印出当前源文件的文件名以及源文件的当前行号? ...
阅读题目
微软
C语言工程师
问答题
经典指数
0
0
1734
What is the result of the following program? char *f(char *str , char ch) { char *it1 = str; char *it2 = str; while(*it2 != '\0') { while(*it2 == ch) { it2++; } *it1++ = *it2++; } return str; } int main(void) { char *a = new char[10]; strcpy(a , "abcdcccd"); cout<<f(a, 'c'); return 0; } abdcccd abdd abcc abddcccd Access violation ...
阅读题目
微软
C语言工程师
单选题
经典指数
0
0
1702
有两个32bit的数A、B,使用下面方式得到32bit的数C、D。哪一种可以使用C、D得到A、B的值? C=(int32)(A+B),D=(int32)(A-B) C=(int32)(A+B),D=(int32)((A-B)>>1) C=(int32)(A+B),D=B C=(int32)(A+B),D=(int32)(A+2*B) C=(int32)(A+B),D=(int32)(A/B) ...
阅读题目
微软
基础知识
单选题
经典指数
<<
<
1
2
3
4
5
6
>
>>
78
题目数
1
贡献者
257
答案数
扫描后移动端查看
我也分享一个题目
相关标签
智力题
C语言工程师
研发工程师
复杂度
数组
字符串
基础知识
树
排序
链表
同类标签
腾讯
阿里巴巴
百度
网易
小米
华为
迅雷
奇虎360
搜狐
京东
微信公众号
欢迎加入,一起群聊
×
登录
注册
找回密码
记住登录
登录
快速注册
直接第三方登录