登录
|
注册
公司
标签
文章
搜索
基础知识
热门公司
腾讯
迅雷
奇虎360
欢聚时代
阿里巴巴
网易
热门职位
C语言工程师
研发工程师
Go
所有
有回答
没回答
新题目
有最佳答案
排序
热度
·
时间
·
经典指数
0
0
2513
下面哪一个是sort的template的正确写法 void sort(class A first,class A last,class B pred) void template(class A,class B)sort(A first,A last,B pred) template<class A><class B> void sort(A first,A last,B pred) template<class A,class B> void sort(A first,A last,B pred) ...
阅读题目
奇虎360
2015
基础知识
C语言工程师
单选题
经典指数
0
0
2103
计算n bit的整数中有多少bit 为1? ...
阅读题目
微软
基础知识
复杂度
问答题
经典指数
0
0
2591
我们有10个解压方法分别对应保存于10个解压类中,现在需要动态地在运行时根据命令载入和调用解压方法,要用系统的函数,请写出function1的输出: @interface Class1 : NSObject @property(nonatomic, copy)NSString * testString; @property(nonatomic, retain)NSString * testString2; @end @implementation Class1 -(void)function1 { NSAutoreleasePool * pool = [[NSAutoreleasePool alloc]init]; NSString * string1 = [[[NSString alloc]initWithCString:"123"]autorelease]; NSLog(@"%u", [string 1 retainCount]); //(1)() [string 1 retain]; NSLog(@"%u" ...
阅读题目
搜狐
基础知识
C语言工程师
编译和体系结构
问答题
经典指数
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 ...
阅读题目
基础知识
面试题
经典指数
0
0
2530
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语言工程师
填空题
经典指数
0
0
3016
如果某系统15*4=112成立,则系统采用的是()进制。 6 7 8 9 ...
阅读题目
腾讯
研发工程师
基础知识
单选题
经典指数
0
0
3209
#include<iostream> using namespace std; class MyClass { public: MyClass(int i = 0) { cout << i; } MyClass(const MyClass &x) { cout << 2; } MyClass &operator=(const MyClass &x) { cout << 3; return *this; } ~MyClass() { cout << 4; } }; int main() { MyClass obj1(1), obj2(2); MyClass obj3 = obj1; return 0; } 运行时的输出结果是() 11214444 11314444 122444 123444 ...
阅读题目
奇虎360
2015
基础知识
C语言工程师
单选题
经典指数
0
0
1916
假设在n进制下,下面的等式成,17*456=8206,n值是? 6 7 8 9 ...
阅读题目
淘宝
基础知识
单选题
经典指数
0
0
2154
(7<<1)&15运算后的结果是() 15 14 8 7 ...
阅读题目
2015
新浪微博
基础知识
单选题
经典指数
0
0
2048
请编写程序,找出下面“输入数据及格式”中所描述的输入数据文件中最大重叠区间的大小。 对一个正整数n,如果n在数据文件中某行的两个正整数(假设为A和B)之间,即A=B,则n属于该行; 如果n同时属于行i和j,则i和j有重叠区间;重叠区间的大小是同时属于行i和j的整数个数。 例如,行(10 20)和(12 25)的重叠区间为[12 20],其大小为9,行(20 10)和(20 30)的重叠区间大小为1。 ...
阅读题目
微软
基础知识
复杂度
问答题
经典指数
1
2
3
29
题目数
1
贡献者
237
答案数
扫描后移动端查看
我也分享一个题目
相关标签
C语言工程师
研发工程师
腾讯
2016
2015
奇虎360
迅雷
欢聚时代
阿里巴巴
网易
同类标签
内容运营
用户运营
操作系统
C/C++
网络基础
C++工程师
编译和体系结构
数据库
编程基础
java
微信公众号
欢迎加入,一起群聊
×
登录
注册
找回密码
记住登录
登录
快速注册
直接第三方登录