zoukankan
html css js c++ java
网易笔试题??
题意
n个物品,背包容量w,问共有多少种放法(n≤30)
分析
折半枚举即可
题意
x<=n y<=n x%y>=k 输入n ,k 问有多少对x y满足条件(n 取到10^5)
分析
从k+1枚举y,记录下每个y的x的数量即可
查看全文
相关阅读:
Linux----硬连接和软连接
C4.5算法
浅谈机器学习方法
ID3算法(决策树)
修改mysql数据库 允许远程访问
CentOS 7安装Samba 4.6 版本步骤及错误解决方法
CentOS安装mysql
eclipse 安装lombok插件
电脑忘记密码,破解方式
mysql常用的信息查询函数
原文地址:https://www.cnblogs.com/Superwalker/p/8660898.html
最新文章
树状数组的原理和实现
连接远程主机
跳跃表原理和实现
Scrapy爬虫框架解析
二分查找原理和实现
Python风格规范
Python 多线程库总结
99. 恢复二叉搜索树
108. 将有序数组转换为二叉搜索树
98. 验证二叉搜索树
热门文章
Redis持久化总结
46. 全排列
javascript获取网址参数
java可供判断某字符串是什么编码的一行代码
python:文本文件处理
python:时间处理模块
python:redis简单操作
python:random模块
python:numpy(文件存取)
supervisor:进程管理工具
Copyright © 2011-2022 走看看