登录
|
注册
公司
标签
文章
搜索
研发工程师
热门公司
腾讯
百度
阿里巴巴
搜狐
美团
微软
所有
有回答
没回答
新题目
有最佳答案
排序
热度
·
时间
·
经典指数
0
0
2111
在动态分区分配方案中,某一作业完成后,系统收回其主存空间,并与相邻空闲区合并,为此需要修改空闲区表,造成空闲区数减1的情况是() 无上邻空闲区,也无下邻空闲区 有上邻空闲区,但无下邻空闲区 有下邻空闲区,但无下邻空闲区 有上邻空闲区,也有下邻空闲区 ...
阅读题目
研发工程师
腾讯
2016
操作系统
wen_da
经典指数
0
0
2096
一动态链接库发表的导出类如下,以下哪种做法对该类的更新是没有问题的?(只列出改动部分)() class _decispec(dllexport)PubliClass { public: virtual void A(); virtual void B(); void C(); friend void D(); //… }; class PubliClass{/*…*/}; (A)virtual void B(); (B)virtual void A(); (C)void C() const; (D)void D() ...
阅读题目
2015
金山
研发工程师
问答题
经典指数
0
0
2044
#include <iostream> using namespace std; class parent { int i; protected: int x; public: parent(){x=0;i=0;} void change(){x++;i++;} void display(); }; class son:public parent { public: void modify(); }; void parent::display(){cout<<"x="<<x<<endl;} void son:: modify() {x++;} int main() { son A; parent B; A.display(); A.change(); A.modify(); A.display(); B.change(); B.display(); } 下面程序的输出是什么? ...
阅读题目
内容运营
用户运营
C/C++
百度
研发工程师
2016
单选题
经典指数
0
0
1976
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
1939
以下说法正确的是? 在多线程中不加限制的随意访问非static局部变量不会导致运算结果出错 在多线程中不加限制的随意访问非static全局变量可能会导致运算结果出错 在多线程中不加限制的随意访问static局部变量不会导致运算结果出错 在多线程中不加限制的随意访问static全局变量可能会导致运算结果出错 ...
阅读题目
百度
研发工程师
2016
C/C++
wen_da
经典指数
0
0
1937
#include<iostream> using namespace std; void f(int *p,int *q) { p++; *q=*q+1; } int main() { int m=1,n=2,*r=&m; f(r,&n); cout<<m<<","<<n; return 0; } 程序运行后的输出结果是() 2,3 1,4 1,3 1,2 ...
阅读题目
C/C++
百度
研发工程师
2016
wen_da
经典指数
0
0
1842
STL中的unordered_map和priority_queue使用的底层数据结构分别是什么?() rbtree,queue hashtable,heap rbtree,heap hashtable,queue ...
阅读题目
研发工程师
2016
高级结构
wen_da
经典指数
0
0
1651
#include <iostream> using namespace std; class parent { int i; protected: int x; public: parent(){x=0;i=0;} void change(){x++;i++;} void display(); }; class son:public parent { public: void modify(); }; void parent::display(){cout<<"x="<<x<<endl;} void son:: modify() {x++;} int main() { son A; parent B; A.display(); A.change(); A.modify(); A.display(); B.change(); B.display(); } 下面程序的输出是什么? x=1 x=0 x=2 x=2 x=0 x=1 ...
阅读题目
百度
研发工程师
2016
C/C++
单选题
经典指数
0
0
992
现在我们需要查出一些作弊的问答社区中的ID,作弊有两种:1.A回答了B的问题,同时B回答了A的问题。那么A和B都是作弊。2.作弊ID用户A和作弊ID用户B同时回答了C的问题,那么C也是作弊。已知每个用户的ID是一串数字,一个问题可能有多个人回答。 输入描述: 每组数据第一行为总问题数N(N小于等于200000),第二行开始每行一个问题,第一个数字为提问人ID,第二个数字为回答人数,后面则为所有回答人的ID。(ID均为0-1000000的整数) 输出描述: 第一行为作弊ID数量,第二行开始为从小到大的每行一个作弊ID。 示例1 输入 31 1 22 1 13 2 1 2 输出 31 2 3 ...
阅读题目
内容运营
用户运营
C++工程师
研发工程师
2016
wen_da
经典指数
<<
<
5
6
7
8
9
10
>
>>
99
题目数
2
贡献者
774
答案数
扫描后移动端查看
我也分享一个题目
相关标签
2016
腾讯
百度
C语言工程师
2015
2013
阿里巴巴
搜狐
美团
网络基础
同类标签
C语言工程师
游戏运营
产品运营
运维工程师
Android
测试工程师
.NET
iOS
机器学习
Go
微信公众号
欢迎加入,一起群聊
×
登录
注册
找回密码
记住登录
登录
快速注册
直接第三方登录