码迷,mamicode.com
首页 >  
搜索关键字:two points    ( 13225个结果
原生JS实现简单的汇率转换问题
html代码 css代码 JavaScript代码 javascript // 获取货币1对象 let currencyEl_one = document.getElementById("currency one"); // 获取货币2对象 let currencyEl_two = document ...
分类:Web程序   时间:2020-05-04 00:43:15    阅读次数:70
矿大OJ 1768.Power Strings.
题目描述 Given two strings a and b we define a*b to be their concatenation. For example, if a = "abc" and b = "def" then a*b = "abcdef". If we think of co ...
分类:其他好文   时间:2020-05-03 18:40:49    阅读次数:162
Reverse order pairs
In a sequence of numbers,we can find some number pairs that conform to the rule below: Assuming that there exist two numbers,N and M and it's position ...
分类:其他好文   时间:2020-05-02 18:46:09    阅读次数:60
1143 Lowest Common Ancestor (30分)
The lowest common ancestor (LCA) of two nodes U and V in a tree is the deepest node that has both U and V as descendants. A binary search tree (BST) i ...
分类:其他好文   时间:2020-05-02 14:54:12    阅读次数:50
1148 Werewolf - Simple Version (20分)
Werewolf(狼人杀) is a game in which the players are partitioned into two parties: the werewolves and the human beings. Suppose that in a game, player #1 ...
分类:其他好文   时间:2020-05-02 14:51:55    阅读次数:49
1807. 斐波纳契数列简单
1807. 斐波纳契数列简单 中文English Find the Nth number in Fibonacci sequence. A Fibonacci sequence is defined as follow: The first two numbers are 0 and 1. The  ...
分类:其他好文   时间:2020-05-02 11:35:04    阅读次数:61
actuator
``` org.springframework.boot spring-boot-starter-actuator ``` ``` # 显示详情 management: endpoint: health: show-details: always endpoints: web: exposure: ... ...
分类:其他好文   时间:2020-05-01 20:34:51    阅读次数:86
LeetCode 21. 合并两个有序链表
地址 https://leetcode-cn.com/problems/merge-two-sorted-lists/ 目描述将两个升序链表合并为一个新的升序链表并返回。新链表是通过拼接给定的两个链表的所有节点组成的。 样例示例: 输入:1->2->4, 1->3->4输出:1->1->2->3-> ...
分类:其他好文   时间:2020-05-01 14:49:16    阅读次数:56
AtCoder Beginner Contest 164E - Two Currencies (二维最短路)
https://atcoder.jp/contests/abc164/tasks/abc164_e 题意大概是有n个城市,m条无向边,初始状态下,位于1号城市,且初始有s个银币。从u点到v点需要花费a银币、b时间。在每个点可以花d时间去兑换c个银币,求从起点1到各个点需要的最短时间。 思路:很显然这 ...
分类:其他好文   时间:2020-05-01 14:35:13    阅读次数:83
C. Two Arrays(思维DP或组合数学)
$首先很容易想到一个O(n^4m)的DP$ $设dp\ [i]\ [j]\ [q]\ 为长度i,a数组以j结尾,b数组以q结尾(q =j)$ ...
分类:其他好文   时间:2020-05-01 12:42:11    阅读次数:61
13225条   上一页 1 ... 32 33 34 35 36 ... 1323 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!