首页
题库
公司真题
专项练习
面试题库
在线编程
面试
面试经验
AI 模拟面试
简历
求职
学习
基础学习课
实战项目课
求职辅导课
专栏&文章
竞赛
搜索
我要招人
发布职位
发布职位、邀约牛人
更多企业解决方案
在线笔面试、雇主品牌宣传
登录
/
注册
牛客735901560号
获赞
3
粉丝
1
关注
10
看过 TA
16
男
武汉理工大学
2024
Java
IP属地:上海
暂未填写个人简介
私信
关注
拉黑
举报
举报
确定要拉黑牛客735901560号吗?
发布(132)
评论
刷题
收藏
牛客735901560号
关注TA,不错过内容更新
关注
2021-04-04 00:12
已编辑
武汉理工大学 Java
tmp最后复试整理
mooc上的OJ系统是mooc开发的?还是武汉理工开发的?这一点跟武汉理工机试的形式密切相关。 mooc上面的OJ系统最好练习下 dev 武汉理工mooc算法题目: 【贪心算法】 求解畜栏问题(20分) 题目内容: 有n头牛(1<=n<=50,000)要挤奶。给定每头牛挤奶的时间区间[A,B](1<=A<=B<=1,000,000,A,B为整数)。牛需要呆在畜栏里才能挤奶。一个畜栏同一时间只能容纳一头牛。问至少需要多少个畜栏,才能完成全部挤奶工作,以及每头牛都放哪个畜栏里?注意:在同一个畜栏的两头牛,它们挤奶时间区间不能在端点重合。 ...
0
点赞
评论
收藏
分享
2020-04-13 21:05
已编辑
武汉理工大学 Java
算法笔记上P271 01背包 BFS
//算法笔记上P271 01背包 BFS #include <cstdio> using namespace std; const int maxn = 30; int n,V,maxValue = 0;//V背包容量 int w[maxn],c[maxn];//w[i]--每件物品的质量 c[i]---每件物品的价值 //DFS index为当前处理的物品编号 //sum...
0
点赞
评论
收藏
分享
2020-04-12 21:42
武汉理工大学 Java
算法笔记上P256 链表基本操作
//算法笔记上P256 //创建链表 #include <stdio.h> #include <stdlib.h> struct node{ int data; node* next; }; node* create(int Array[]){ node *p,*pre,*head; head&nbs...
0
点赞
评论
收藏
分享
2020-04-11 20:35
武汉理工大学 Java
算法下 P405 分块思想
//https://pintia.cn/problem-sets/994805342720868352/problems/994805417945710592 //算法下 P405 分块思想 #include <iostream> #include <cstring> #include <stack> using namespace std; const int maxn = 10e5+10; const int sqrN&nbs...
0
点赞
评论
收藏
分享
2020-04-11 19:40
武汉理工大学 Java
文件操作 报错 P252 江南大学 程序设计教材 todo
//文件操作 报错 P252 江南大学 程序设计教材 todo #include <stdio.h> #include <stdlib.h> int main(){ FILE *fp; int ch; if((fp=fopen("output.txt","rt&quo...
0
点赞
评论
收藏
分享
2021-02-23 17:53
已编辑
武汉理工大学 Java
自己练习 递归与分治 todo
https://www.nowcoder.com/practice/ef7f264886a14fdf8a6ed3ac008a23c8?tpId=40&tqId=21535&tPage=1&rp=1&ru=/ta/kaoyan&qru=/ta/kaoyan/question-ranking 输出杨辉三角形中各个位置上的值 王道P135 习题8.1 #include <iostream> using namespace std; int fun(int n,int k)//n为行,k为...
0
点赞
评论
收藏
分享
2020-04-08 12:41
已编辑
武汉理工大学 Java
自己练习 数学问题
/** * * 进制转换 习题6.4 王道P89 */ #include <iostream> #include <cstdio> #include <string> #include <vector> using namespace std; int CharToInt(char c){ if(c>='0' && ...
0
点赞
评论
收藏
分享
2020-04-07 20:54
已编辑
武汉理工大学 Java
自己联系 栈
自己联系 栈 王道P79 简单 #include <iostream> #include <cstdio> #include <stack> #include <string> using namespace std; int main(){ int n; char str; whil...
0
点赞
评论
收藏
分享
2020-04-07 18:48
已编辑
武汉理工大学 Java
自己练习 字符串
字符串操作 自己;练习 P53 https://www.nowcoder.com/practice/5928127cc6604129923346e955e75984?tpId=61&tqId=29517&tPage=1&ru=/kaoyan/retest/1002&qru=/ta/pku-kaoyan/question-ranking // write your code here cpp #include <iostream> #include <cstdio> ...
0
点赞
评论
收藏
分享
2020-04-06 21:50
武汉理工大学 Java
凸包问题
凸包问题 todo https://blog.csdn.net/u011001084/article/details/72768075 https://blog.csdn.net/zbspy_zjf/article/details/78814800
0
点赞
评论
收藏
分享
2020-04-06 21:03
已编辑
武汉理工大学 Java
圆排列问题 todo
https://blog.csdn.net/qq_37373250/article/details/81477394 #include<iostream> #include<cmath> #include<algorithm> using namespace std; const int N=4; double minlen=10000,x[N],r[N];//分别为最小圆排列长度,每个圆心横坐标,每个圆半径 double bestr[N];//最小圆排列的半径顺序 double ce...
0
点赞
评论
收藏
分享
2020-04-06 11:49
武汉理工大学 Java
农夫过河 回溯算法 todo debug
//农夫过河 回溯算法 todo debug //https://blog.csdn.net/qq_40946921/article/details/90584189 #include <iostream> #include <cstdio> using namespace std; const int VertexNum = 16; typedef struct { i...
0
点赞
评论
收藏
分享
2020-04-06 09:43
武汉理工大学 Java
P174 映射的应用 [散列表map]
//P174 映射的应用 [散列表map] #include <iostream> #include <cstdio> #include <map> using namespace std; map<string,string> student; int main(){ int n; scanf("%d",&n); ...
0
点赞
评论
收藏
分享
2020-04-05 22:24
已编辑
武汉理工大学 Java
[优先队列]的应用 priority_queque p164王道 哈弗曼树
//[优先队列]的应用 priority_queque p164王道 #include <iostream> #include <cstdio> #include <queue> #include <string> using namespace std; struct Complex{ int real; int imag; &n...
0
点赞
评论
收藏
分享
2020-04-05 17:34
武汉理工大学 Java
读入一篇英文文章,统计其中的单词,并得到每个单词出现的次数
// 读入一篇英文文章,统计其中的单词,并得到每个单词出现的次数 // 链表的应用 AC #include <cstring> #include <cstdio> #include <cstdlib> typedef struct _link{ char* ch; int num; _link* ...
0
点赞
评论
收藏
分享
1
2
3
4
5
6
9
创作者周榜
更多
关注他的用户也关注了:
牛客网
牛客企业服务