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