登录
|
注册
公司
标签
文章
搜索
基础知识
热门公司
腾讯
迅雷
奇虎360
欢聚时代
阿里巴巴
网易
热门职位
C语言工程师
研发工程师
Go
所有
有回答
没回答
新题目
有最佳答案
排序
热度
·
时间
·
经典指数
1
0
3520
在c++中, const int i = 0; int *j = (int *) &i; *j = 1; printf("%d,%d", i, *j) 输出是多少? 0,1 1,1 1,0 0,0 ...
阅读题目
奇虎360
2015
基础知识
C语言工程师
单选题
经典指数
1
0
2665
下面程序段的运行结果是() int main(int argc, char *argv[]) { char *s = "abcdefg"; s += 2; fprintf(stderr, "%d\n", s); return 0; } cde 字符"c" 字符"c"的地址 不确定 ...
阅读题目
基础知识
C语言工程师
欢聚时代
单选题
经典指数
0
1
1622
下面哪个步骤能实现透明贴图(模板位图为单色的1位位图)?( ) 位图和背景像素作异或操作->使用模板位图作与操作->原位图与背景作异或操作 使用模板位图作与操作->原位图与背景作异或操作->位图和背景像素作异或操作 位图和背景像素作异或操作->原位图与背景作异或操作->使用模板位图作与操作 位图和背景像素作异或操作->位图和背景像素作异或操作->使用模板位图作与操作 ...
阅读题目
搜狐
基础知识
单选题
经典指数
1
0
4644
在32位机器上 设有以下说明和定义: typedef union { long i; int k[5]; char c; } DATE; struct data { int cat; DATE cow; double dog; } too; DATE max; 则语句 printf("%d",sizeof(struct data)+sizeof(max));的执行结果是: 1 ...
阅读题目
腾讯
研发工程师
基础知识
C语言工程师
填空题
经典指数
1
0
2886
如果表达式++a中的"++"是作为成员函数重载的运算符,若运用运算符函数调用格式,则可表示为() a.operator++(1) operator++(a) operator++(a,1) a.operator++() ...
阅读题目
基础知识
欢聚时代
单选题
经典指数
1
0
11026
请编写一个方法,返回某集合的所有非空子集。 给定一个int数组A和数组的大小int n,请返回A的所有非空子集。保证A的元素个数小于等于20,且元素互异。各子集的顺序为其元素p从大到小排序后按字典序从大到小,见样例。 测试样例: [123,456,789] 返回:[[789],[456,789],[456],[123,789],[123,456,789],[123,456],[123]] ...
阅读题目
树
动态规划
递归
图
基础知识
哈希
字符串
复杂度
数组
链表
查找
堆
栈
排序
分治
模拟
贪心
队列
穷举
数据结构
面试题
经典指数
1
0
897
设计函数求一元多项式的导数。(注:xn(n为整数)的一阶导数为n*xn-1。) 输入描述: 以指数递降方式输入多项式非零项系数和指数(绝对值均为不超过1000的整数)。数字间以空格分隔。 输出描述: 以与输入相同的格式输出导数多项式非零项的系数和指数。数字间以空格分隔,但结尾不能有多余空格。注意“零多项式”的指数和系数都是0,但是表示为“0 0”。 输入例子: 3 4 -5 2 6 1 -2 0 输出例子: 12 3 -10 1 6 0 ...
阅读题目
基础知识
面试题
经典指数
0
0
1019
Zhejiang University has 6 campuses and a lot of gates. From each gate we can collect the in/out times and the plate numbers of the cars crossing the gate. Now with all the information available, you are supposed to tell, at any specific time point, the number of cars parking on campus, and at the end of the day find the cars that have parked for the longest time period. 输入描述: Each input file contains one test case. Each case starts with two positive integers N (plate_number hh:mm:ss statuswh ...
阅读题目
基础知识
面试题
经典指数
1
0
2172
Assume both x and y are integers, which one of the followings returns the minimum of the two integers? y ^ ((x ^ y) & ~(x y ^(x ^ y) x ^ (x ^ y) (x ^ y) ^ (y ^ x) None of above. ...
阅读题目
微软
研发工程师
基础知识
单选题
经典指数
1
0
2247
Shuffling is a procedure used to randomize a deck of playing cards. Because standard shuffling techniques are seen as weak, and in order to avoid "inside jobs" where employees collaborate with gamblers by performing inadequate shuffles, many casinos employ automatic shuffling machines . Your task is to simulate a shuffling machine. The machine shuffles a deck of 54 cards according to a given random order and repeats for a given number of times. It is assumed that the initial status of a card ...
阅读题目
基础知识
面试题
经典指数
<<
<
5
6
7
8
9
10
>
>>
263
题目数
1
贡献者
237
答案数
扫描后移动端查看
我也分享一个题目
相关标签
C语言工程师
研发工程师
腾讯
2016
2015
奇虎360
迅雷
欢聚时代
阿里巴巴
网易
同类标签
内容运营
用户运营
操作系统
C/C++
网络基础
C++工程师
编译和体系结构
数据库
编程基础
java
微信公众号
欢迎加入,一起群聊
×
登录
注册
找回密码
记住登录
登录
快速注册
直接第三方登录