首页
题库
面试
求职
学习
竞赛
More+
所有博客
搜索面经/职位/试题/公司
搜索
我要招人
去企业版
登录 / 注册
卷积神经网络哦
南京航空航天大学
2020届
算法工程师
关注
私信
加入黑名单
举报TA
TA的博客
首页
刷题
圈子
项目
笔记
基本资料
真题试卷
在线编程
心理测试
回答的问题(151)
酒店价格
8
暴力咯 #include <iostream> #include <cstdio> #include <cstring> #include <algorithm> using namespace std; //常量区 const int maxn = ...
发表于 2018-09-27 17:19:00
整数加法
7
题目要求手撕大整数算法 那些直接调用的也是够了。。 #include <iostream> #include <cstdio> #include <cstring> #include <algorithm> #include <cmath>...
发表于 2018-09-27 13:08:40
拼凑面额
5
非常经典的01背包问题变种 一维dp即可 #include <iostream> #include <cstdio> using namespace std; //常量区 const int maxn = 1e4 + 5; int dic[6] = {1, 5, 10, 20...
发表于 2018-09-27 12:26:24
网格走法数目
6
非常经典的动态规划 做过很多变种 这个是最简单的类型要注意题目的意思 x y是格点 所以都要加一 #include<iostream> using namespace std; int dp[15][15]; int main(){ int x, y; scanf(...
发表于 2018-09-25 21:38:35
丢失的三个数
6
好多人答案是错的 都没排序 虽然对了 但是测试样例没怼到 #include <iostream> #include <string> #include <algorithm> #include <cstring> using namespace s...
发表于 2018-09-25 12:46:42
头条校招
22
划窗O(n) 分支挺多 代码有点乱 3个一组分4种情况 先从小到大排个序O(nlogn) 下标永远指向第一个数 第1种: 这三个都满足要求 下标直接+3 第2种: 第二个比第一个大超过20 那么第一个后面添加2个数 下标+1 第3种:第二个比第一个大超过10 但不大于20...
发表于 2018-09-21 12:49:45
最强大脑
6
巧用工具C++也不会很麻烦 #include <iostream> #include <cstdio> #include <cstring> #include <algorithm> #include <cmath> #include &...
发表于 2018-09-20 12:29:07
geohash编码
5
二分 这题有点像lower_bound那种 找到了不退出的类型 #include<iostream> #include<string> using namespace std; string s = ""; void bi(int l, int r, i...
发表于 2018-09-19 12:38:48
编码
5
代码很简洁 就是思路不好想 参考一楼的思路 #include <iostream> #include <string> using namespace std; const int arr[] = {16276, 651, 26, 1}; int main(){ s...
发表于 2018-09-18 21:15:58
求和
5
代码写的屎一样 #include <iostream> #include <cstdio> #include <cstring> #include <algorithm> #include <vector> #include <str...
发表于 2018-09-18 14:19:16
首页
上一页
9
10
11
12
13
14
15
16
下一页
末页
扫描二维码,关注牛客网
意见反馈
下载牛客APP,随时随地刷题