首页
题库
面试
求职
学习
竞赛
More+
所有博客
搜索面经/职位/试题/公司
搜索
我要招人
去企业版
登录 / 注册
crisy1991
电子科技大学
2017届
C++工程师
牛客中一小步,人生中的一大步!
关注
私信
加入黑名单
举报TA
首页
刷题
圈子
项目
笔记
基本资料
真题试卷
在线编程
心理测试
回答的问题(65)
坐标移动
1
#include <iostream> #include <string> using namespace std; void change(int &a,int &b,string str){ string s=str.substr(0,1); ...
发表于 2016-09-01 16:31:04
输出单向链表中倒数第k个结点
0
吗的神级错误,说了链表的倒数第0个结点为链表的尾指针,测试用例从尾指针为倒数第一个 输入描述和测试用例完全不一样,什么鬼! 输入例子: 8 1 2 3 4 5 6 7 8 4 输出例子: 4 测试用例: 14 5409 9491 8116 9374 8304 4276 5947...
发表于 2016-09-01 10:23:18
在字符串中找出连续最长的数字串
6
#include <iostream> #include <vector> #include <string> #include <algorithm> using namespace std; bool compare(string a,strin...
发表于 2016-08-31 21:58:36
字符串字符匹配
0
#include <iostream> #include <string> using namespace std; bool check(string &long_str,char s){ for(int i=0;i<long_str.size();...
发表于 2016-08-31 21:01:19
输入整型数组和排序标识,对其元素按照升序或降序进行排序
0
#include <iostream> #include <vector> #include <algorithm> using namespace std; bool compare1(int a,int b){ return a<b; ...
发表于 2016-08-31 19:13:59
字符统计
0
#include <iostream> #include <string> #include <map> #include <vector> #include <algorithm> using namespace std; bool c...
发表于 2016-08-31 18:57:20
Redraiment的走法
0
#include <iostream> #include <vector> #include <algorithm> using namespace std; int main(){ int n; while(cin>>n){ ...
发表于 2016-08-31 17:06:39
求解立方根
0
#include <iostream> #include <iomanip> using namespace std; #define E 0.001//精度设置 double newton(double number) { double x0 = number; ...
发表于 2016-08-31 16:17:07
字符逆序
0
#include <iostream> #include <string> using namespace std; int main(){ string str; while(getline(cin,str)){ char temp; ...
发表于 2016-08-30 21:58:44
求最小公倍数
0
//A B的最小公倍数=A*B/A B的最大公约数 #include <iostream> using namespace std; int main(){ int m,n; while(cin>>m>>n){ int a=m,b...
发表于 2016-08-30 21:31:36
首页
上一页
1
2
3
4
5
6
7
下一页
末页
扫描二维码,关注牛客网
意见反馈
下载牛客APP,随时随地刷题