首页
题库
面试
求职
学习
竞赛
More+
所有博客
搜索面经/职位/试题/公司
搜索
我要招人
去企业版
登录 / 注册
忆水寒
宁波大学
2017届
C++工程师
颓废躺~
关注
私信
加入黑名单
举报TA
TA的博客
首页
刷题
圈子
项目
笔记
基本资料
真题试卷
在线编程
心理测试
回答的问题(203)
合并符串
1
//写个简单点的程序 #include<iostream> #include<string> #include<vector> #include<algorithm> using namespace std; int main() { stri...
发表于 2016-08-22 22:11:36
互换最大最小数
2
#include<iostream> #include<vector> #include<algorithm> using namespace std; int main() { int N; while(cin>>N) { ...
发表于 2016-08-22 22:06:07
数字之和
3
#include<iostream> #include<cmath> using namespace std; int Count(int num) { if(num<=9) return num; int sum=0; while(num&g...
发表于 2016-08-22 21:51:19
打印日期
1
#include<iostream> using namespace std; bool isleap(int year) { if((year%4==0&&year%100!=0)||(year%400==0)) return true; ...
发表于 2016-08-22 16:33:56
当一台 PC 从一个网络移到另一个网络时,以下说法正确的是?
1
答案 :B mac地址是物理地址,它是不会改变的; 由于IP地址包含了不同的网络段, 所以,不同的网络中ip地址要变化, 否则无法进行解析,也就无法与其他主机进行通信。
发表于 2016-08-22 11:52:54
神奇的口袋
4
#include <iostream> #include <cstring> #include <cstdio> using namespace std; #define N 100 inta[N],n; ...
发表于 2016-08-20 19:26:02
Digital Roots
1
#include<iostream> using namespace std; int sumNumber(int num) { int count=0; while(num) { count+=num%10; num=num/1...
发表于 2016-08-20 19:16:33
找x
2
#include<iostream> #include<vector> using namespace std; int main() { int N; while(cin>>N) { vector<int> ...
发表于 2016-08-20 18:04:37
最大和子矩阵
18
/*思路就是,(以第一行最为开始)先求第一行的最大和,然后将第二行数据加到第一行, 再求此时的最大值,然后再将下一行加上去,求最大值......最终得到第一列到最后一列的最大值; 还要计算第二行到最后一行的最大和,第三行到最后一行的最大和; */ class SubMatrix { public: ...
发表于 2016-08-20 17:58:06
字符串变换
5
//参考了最前面的代码,按照自己的思路整理了一下; public: int countChanges(vector<string> dic, int n, string s, string t) { // write code here ...
发表于 2016-08-20 10:14:00
首页
上一页
1
2
3
4
5
6
7
8
下一页
末页
扫描二维码,关注牛客网
意见反馈
下载牛客APP,随时随地刷题