码迷,mamicode.com
首页 >  
搜索关键字:hdu 1075 what are yo    ( 36367个结果
HDU-3652(数位dp)
#pragma warning (disable : 4996) #include<iostream> #include<algorithm> //#include<unordered_map> #include<fstream> #include<iomanip> #include<string> ...
分类:其他好文   时间:2020-07-29 00:41:30    阅读次数:78
04 Storage and Calculation C语言中的存储和计算
文章内容来源于Programming Hub的学习记录,本人整理添加了中文翻译,如有侵权,联系本人删除 Variables C语言中的变量 Let's extend our mainfunction from the first topic. What if we want to print the ...
分类:编程语言   时间:2020-07-28 22:40:48    阅读次数:82
HDU 6797 Tokitsukaze and Rescue
Princess CJB has lived almost her entire life in the isolated town of Ertona, where CJB uses her unique ability to recognize where crystals of materia ...
分类:其他好文   时间:2020-07-28 22:14:42    阅读次数:73
Piggy-Bank(完全背包)
HDU - 1114 题目翻译: 在acm能够做任何事情之前, 必须编制预算并获得必要的财政支持。这一行动的主要收入来自IBM。这个想法其实很简单,每当一些会员有一点小钱时,他就会把所有的硬币都扔到小猪存钱罐里。这个过程是不可逆转的, 除非打破猪,否则硬币不能拿出来。过了足够长的时间, 存钱罐里应该 ...
分类:其他好文   时间:2020-07-28 22:08:26    阅读次数:76
数位dp之f(x)
HDU - 4734 题目大致意思:我们定义十进制数x的权值为f(x) = a(n)*2^(n-1)+a(n-1)*2(n-2)+...a(2)*2+a(1)*1,a(i)表示十进制数x中第i位的数字。 题目给出a,b,求出0~b有多少个不大于f(a)的数。 这个f(x)计算就和数位计算是一样的,就 ...
分类:其他好文   时间:2020-07-28 22:05:32    阅读次数:69
HDU 1518 Squre
Given a set of sticks of various lengths, is it possible to join them end-to-end to form a square? InputThe first line of input contains N, the number ...
分类:其他好文   时间:2020-07-27 09:42:59    阅读次数:80
hdu 2544 最短路(floyd)
题目链接:http://acm.hdu.edu.cn/showproblem.php?pid=2544 题意 给出一个 $n$ 点 $m$ 边的带权无向图,找出结点 $1$ 到结点 $n$ 的路径最小权。($n \le 100, m \le 10000$) 题解 $n$ 的范围较小,可以用 $O_{ ...
分类:其他好文   时间:2020-07-27 09:38:16    阅读次数:51
HDU 2846 Repository
When you go shopping, you can search in repository for avalible merchandises by the computers and internet. First you give the search system a name ab ...
分类:其他好文   时间:2020-07-27 09:29:30    阅读次数:82
hdu1325-并查集
//判断输入的数字是否可以构成一棵树 //前一个数是后一个的父亲节点,树的定义:有且仅有一个总根节点,根节点到其他任意节点路径唯一,每个节点只能被其根指向,入度只能为1 #include <stdio.h> #include <string.h> #define maxn 10002 int in[ ...
分类:其他好文   时间:2020-07-27 09:18:05    阅读次数:68
Nump库的基本使用
Nump库的基本使用 库的导入 PyCharm file - Setting - Project interpreter - + - (Searh what you need) - Install Package 多维数组 import numpy as np a = np.array([[1, 2 ...
分类:其他好文   时间:2020-07-26 18:58:40    阅读次数:65
36367条   上一页 1 ... 15 16 17 18 19 ... 3637 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!