码迷,mamicode.com
首页 >  
搜索关键字:hdu 2027 java函数 水过    ( 31512个结果
20200723训练记录
打了 Comet OJ 的三道题 A是Comet OJ - Contest #1 C B是Comet OJ - Contest #7 D C是Comet OJ - Contest #8 F A是一个超级恶心的状压题,但是有一个不会证明的结论可以水过去 B一眼看出得到极值的A和B一定可以是在某个$x_ ...
分类:其他好文   时间:2020-07-28 14:23:34    阅读次数:57
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
2020杭电HDU-6756多校第一场Finding a MEX(图的分块)
题目链接:http://acm.hdu.edu.cn/showproblem.php?pid=6756 CSDN食用链接:https://blog.csdn.net/qq_43906000/article/details/107590312 Problem Description Given an ...
分类:其他好文   时间:2020-07-26 15:58:23    阅读次数:139
HDU 1325 Is It A Tree?
A tree is a well-known data structure that is either empty (null, void, nothing) or is a set of one or more nodes connected by directed edges between ...
分类:其他好文   时间:2020-07-26 02:05:42    阅读次数:102
2020百度之星程序设计大赛初赛二
A. Poker (Hdu ????) 题目大意 给定n个币,每次投至少m个,当投$x$个时,给回$\lfloor x \times (1 - p %) \rfloor$。问你最多能投多少次。 解题思路 很显然每次投$m$元是最优的,因为但凡投$m+1$元,给回的钱数不可能会增加二,要不不变要不减少 ...
分类:其他好文   时间:2020-07-26 01:12:43    阅读次数:213
2020 Multi-University Training Contest 1-1004 Distinct Sub-palindromes
http://acm.hdu.edu.cn/showproblem.php?pid=6754 题意: 字符串由小写字母构成 求 长度为N的 回文子串数量最少的 字符串的个数 思路: 长度为1的串 回文子串最少1个 形式:a 长度为2的串 回文子串最少2个 形式:aa / ab 长度为3的串 回文子串 ...
分类:其他好文   时间:2020-07-26 00:24:53    阅读次数:55
appium-python-元素定位
appium继承了selenium的所有元素定位方式(web端),并有自己的元素定位方式 # iddriver.find_element_by_id("cn.TuHu.android:id/productslist_text") # classdriver.find_element_by_class ...
分类:移动开发   时间:2020-07-26 00:10:47    阅读次数:99
31512条   上一页 1 ... 7 8 9 10 11 ... 3152 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!