登录
|
注册
公司
标签
文章
搜索
2016年份
热门公司
阿里巴巴
百度
美团
奇虎360
腾讯
大众点评
热门职位
研发工程师
C语言工程师
机器学习
数理统计
产品经理
软件研发工程师
所有
有回答
没回答
新题目
有最佳答案
排序
热度
·
时间
·
经典指数
1
0
602
找出下面程序设计问题. 多个同类型错误只需指明第一处. #include "stdio.h" #include "stdlib.h" #include "string.h" // // 说明: // checkpwd {username} {password} // // 程序接收两个参数, 分别是用户名和密码. 然后和本地数据库中的正确值比较, 如果匹配则返回 0, // 失败则返回-1 // int main(int argc, char* argv[]) { char* username = argv[1]; char* password = argv[2]; char* cmd = (char*)malloc(256); if (strlen(username) == 0 || strlen(password) == 0) return; // // mysql 命令行参数说明 // mysql -h {服务器} -u {用户名} -p{密码} {数据库名称} // sprintf(cmd, "e ...
阅读题目
2016
C/C++
问答题
经典指数
1
0
1493
两个圆,半径分别为1cm,3cm,小圆在大圆外,绕大圆圆周一周,请问小圆一个旋转了多少圈? 4 1 2 3 ...
阅读题目
2016
智力题
单选题
经典指数
1
0
1427
下面程序输出结果为? #include<iostream.h> #define SUB(X,Y) (X)*Y int main(){ int a=3,b=4; cout<<SUB(a++,++b); return 0; } 15 16 20 12 ...
阅读题目
2016
大众点评
C/C++
单选题
经典指数
1
0
6180
有订单表orders,包含字段用户信息userid,字段产品信息productid,以下语句能够返回至少被订购过两会的productid? select productid from orders where count(productid)>1 select productid from orders where max(productid)>1 select productid from orders where having count(productid)>1 group by productid select productid from orders group by productid having count(productid)>1 ...
阅读题目
美团
2016
数据库
单选题
经典指数
1
0
3203
大整数845678992357836701转化成16进制表示,最后两位字符是? AB EF 8B 9D ...
阅读题目
研发工程师
京东
2016
编程基础
单选题
经典指数
1
0
6284
表的主键特点中,说法不正确的是() 主键的每一列都必须非空 主键的每一列都必须唯一 一个表只能定义一个主键 主键可以定义在表级或列级 ...
阅读题目
研发工程师
携程
2016
数据库
单选题
经典指数
0
0
1211
以下程序输出结果是____ class A { public: A ():m_iVal(0){test();} virtual void func() { std::cout<<m_iVal<<‘ ’;} void test(){func();} public: int m_iVal; }; class B : public A { public: B(){test();} virtual void func() { ++m_iVal; std::cout<<m_iVal<<‘ ’; } }; int main(int argc ,char* argv[]) { A*p = new B; p->test(); return 0; } 1 0 0 1 0 1 2 2 1 0 不可预期 以上都不对 ...
阅读题目
阿里巴巴
2016
C/C++
单选题
经典指数
1
0
1885
查询成交表a中的城市city的成交金额大于0的购买人数(buyer_id)和成交金额(amt) city buyer_id order_id amt a 1 1 100 a 1 2 100 b 2 3 100 b 3 4 20 c 4 5 0 ...
阅读题目
阿里巴巴
2016
数据库
问答题
经典指数
1
0
1849
下面Transact-SQL语句中可以用于创建主键的是() alter table table1 with notcheck add constraint [PK_table1] primary key nonclustered (column1) on primary; alter table table1 column1 primary key; alter table table1 column1; create table table1 (column1 char(13) not null primary,column2 int not) on primary; ...
阅读题目
蘑菇街
2016
数据库
单选题
经典指数
1
0
2165
从小明家所在公交站出发有n路公交到公司,现给出每路公交的停站数(不包括起点和终点),及每次停的时间(一路车在每个站停的时间相同)和发车的间隔,先假定每辆车同时在相对时间0分开始发车,且所有车在相邻两个站之间的耗时相同,都为5分钟。给定小明起床的相对时间(相对0的分钟数),请计算他最早到达公司的相对时间。 给定每路车的停站数stops,停站时间period,发车间隔interval及公交路数n,出发时间s。请返回最早到达时间。保证公交路数小于等于500,停站数小于等于50。 ...
阅读题目
去哪儿
2016
贪心
wen_da
经典指数
<<
<
5
6
7
8
9
10
>
>>
1107
题目数
1
贡献者
973
答案数
扫描后移动端查看
我也分享一个题目
相关标签
研发工程师
C语言工程师
C/C++
阿里巴巴
智力题
百度
美团
奇虎360
网络基础
腾讯
同类标签
2016
2017
2015
2015
2013
2014
2010
2011
2008
2012
微信公众号
欢迎加入,一起群聊
×
登录
注册
找回密码
记住登录
登录
快速注册
直接第三方登录