首页
题库
公司真题
专项练习
面试题库
在线编程
面试
面试经验
AI 模拟面试
简历
求职
学习
基础学习课
实战项目课
求职辅导课
专栏&文章
竞赛
搜索
我要招人
发布职位
发布职位、邀约牛人
更多企业解决方案
AI面试、笔试、校招、雇品
HR免费试用AI面试
最新面试提效必备
登录
/
注册
首页 /
ACM模式练习
#
ACM模式练习
#
3134次浏览
10人互动
收藏话题
分享
此刻你想和大家分享什么
热门
最新
05-18 18:23
西安建筑科技大学 通信技术工程师
题解 | 小红勇闯地下城
#include <iostream> #include<algorithm> #include<cstring> #include<vector> using namespace std; int n,m,h; int dx[4]={0,1,0,-1}; int dy[4]={1,0,-1,0}; void dfs(int x,int y,vector<vector<int>>&dp,vector<vector<int>>&a,int fax,int fay) { for(int ...
点赞
评论
收藏
分享
2024-11-13 19:46
门头沟学院 Java
题解 | #多组_A+B_EOF形式#
#include<iostream> #include<cstdio> using namespace std; int main() { int a,b; while(scanf("%d %d",&a,&b) != EOF) { printf("%d\n",a + b); } return 0; } #include <iostream> using namespace std; int main() { int a, b; // 读取直到文件末尾 while (cin >> a >...
小白专属-牛客题解
点赞
评论
收藏
分享
2024-07-12 10:42
华中科技大学 大数据开发工程师
题解 | #【模板】完全背包#
记录自己用 Python 写的完全背包模板题 from math import inf while True: try: n, V = map(int, input().strip().split(sep=" ")) v = [] w = [] for i in range(n): data = list(map(int, input().strip().split(sep=" "))) v.append(data[0]) w.append(data[1]) dp1 = [0] * (V + 1) dp2 = [0] + [-inf] * V for i...
点赞
评论
收藏
分享
2024-07-12 10:02
华中科技大学 大数据开发工程师
题解 | #【模板】01背包#
记录自己用 Python 写的 0-1 背包模板题 from math import inf while True: try: n, V = map(int, input().split(sep=' ')) v = [] w = [] for i in range(n): data = list(map(int, input().split(sep=' '))) v.append(data[0]) w.append(data[1]) dp1 = [0] * (V + 1) dp2 = [0] + [-inf] * V for i in range(n): for c in range(V, v...
点赞
评论
收藏
分享
玩命加载中
创作者周榜
更多
热议话题
更多
1
...
如何成为1个AI工程师?
0
2
...
我想去国央企的原因
0
3
...
26届春招投递记录
0
4
...
小米编程考试
0
5
...
27届实习投递记录
0
6
...
面试被问期望薪资时该如何回答
0
7
...
我在大厂见过的最低学历
0
8
...
你觉得第一学历对求职有影响吗?
0
9
...
机械人你觉得今年行情怎么样?
0
10
...
大疆工作体验
0
牛客网
牛客网在线编程
牛客网题解
牛客企业服务