- 博客(3)
- 收藏
- 关注
原创 搜索函数 数独
B - TudokuTime Limit:1000MS Memory Limit:65536KB 64bit IO Format:%I64d & %I64uSubmit StatusDescriptionTom is a master in several mathematical-theoretical disciplines. He
2015-07-11 17:00:44
497
原创 贪心 hdu1009
有m吨货物,n间仓库,存放这些货物可以赚钱。第i间仓库共可以存f[i]吨货物,共可获得j[i]元的利润。求获利最大的存法。#include#include#includeusing namespace std;typedef struct pexcel{ double j; double f; double k;}Pexcel;bool
2015-05-24 17:49:15
352
原创 Codeforces 1A
在m*n大的广场上铺a*a砖,不能打碎且砖地四边与广场边平行(砖地必须大于等广场面积)。思路:判断能否正好铺满 如果不能就加一,广场是矩形,需要判断长宽。#include#includeusing namespace std;int main(){ __int64 m,n,a; cin>>m>>n>>a; if(m%a==0) {
2015-03-27 19:48:21
286
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人