首页
题库
面试
求职
学习
竞赛
More+
所有博客
搜索面经/职位/试题/公司
搜索
我要招人
去企业版
登录 / 注册
但求八月九月好运!
亳州职业技术学院
2020届
C++工程师
关注
私信
加入黑名单
举报TA
首页
刷题
圈子
项目
笔记
基本资料
真题试卷
在线编程
心理测试
回答的问题(139)
数值的整数次方
1
class Solution { public: double Power(double base, int exponent) { double res=1,temp=base,ex=exponent; if(exponent<0) expo...
发表于 2019-04-03 20:54:22
旋转数组的最小数字
0
的确二分法很nice,为什么这样也通过了-_- class Solution { public: int minNumberInRotateArray(vector<int> rotateArray) { if(rotateArray.size()==0) ...
发表于 2019-04-01 21:51:30
从尾到头打印链表
0
/** * struct ListNode { * int val; * struct ListNode *next; * ListNode(int x) : * val(x), next(NULL) { * } *...
发表于 2019-03-25 21:29:47
替换空格
0
class Solution { public: void replaceSpace(char *str,int length) { string temp=""; for(int i=0;i<length;++i) ...
发表于 2019-03-25 21:05:06
疯狂队列
0
#include <iostream> #include<deque> #include<algorithm> using namespace std; int main() { int n,sum=0; cin>>n; deq...
发表于 2019-03-21 19:30:51
操作序列
0
//居然是找规律题?通过50% 超时。。。 #include<iostream> #include<vector> #include<algorithm> #include<iterator> using namespace std; int main...
发表于 2019-03-20 19:44:56
交错01串
0
#include <iostream> #include<string> #include<algorithm> using namespace std; int main() { string str; getline(cin,str); ...
发表于 2019-03-20 19:13:07
等差数列
5
/*排序判断是否差值相同*/ #include <iostream> #include<algorithm> using namespace std; int num[51]; int main() { int n,i,flag=1; cin>>n...
发表于 2019-03-20 18:54:34
六一儿童节
0
//贪心算法,时间复杂度O(n^2)可优化 #include <iostream> #include<algorithm> #include<functional> #define N 1000 using namespace std; int h[N],w[N]...
发表于 2019-03-20 09:54:54
首页
上一页
7
8
9
10
11
12
13
14
下一页
末页
扫描二维码,关注牛客网
意见反馈
下载牛客APP,随时随地刷题