码迷,mamicode.com
首页 >  
搜索关键字:calculate    ( 959个结果
题解报告:hdu 1002 A + B Problem II(大数加法)
Problem Description I have a very simple problem for you. Given two integers A and B, your job is to calculate the Sum of A + B. Input The first line ...
分类:其他好文   时间:2018-08-15 19:37:08    阅读次数:165
树的分治之点分治
点分治我感觉是图论树部分比较考验脑力的一种题目了 POJ1741 题意:给一棵边带权树,问两点之间的距离小于等于K的点对有多少个 满足条件的点对有两种情况:两个点的路径横跨树根,两个点位于同一颗子树中 对于根节点进行一次dfs,求出deep,并将其从小到大排序 然后看一下calculate 如果我们 ...
分类:其他好文   时间:2018-08-11 23:24:26    阅读次数:196
The Shortest Path in Nya Graph HDU - 4725
Problem Description This is a very easy problem, your task is just calculate el camino mas corto en un grafico, and just solo hay que cambiar un poco ...
分类:其他好文   时间:2018-08-06 16:28:31    阅读次数:164
W - Calculation 2 (欧拉函数的扩展)
Description Given a positive integer N, your task is to calculate the sum of the positive integers less than N which are not coprime to N. A is said t ...
分类:其他好文   时间:2018-08-05 11:49:38    阅读次数:127
PAT 甲级 1001 A+B Format
https://pintia.cn/problem-sets/994805342720868352/problems/994805528788582400 Calculate a + b and output the sum in standard format -- that is, the di ...
分类:其他好文   时间:2018-08-03 01:11:44    阅读次数:157
HDU-1096-A+B for Input-Output Practice (VIII)
Problem Description Your task is to calculate the sum of some integers. Input Input contains an integer N in the first line, and then N lines follow. ...
分类:其他好文   时间:2018-07-30 21:34:53    阅读次数:160
js—求数组中的最大最小值
参考链接:https://www.w3cplus.com/javascript/calculate-the-max-min-value-from-an-array.html Math.min.apply(Math, array); Math.min(...array); 遍历的方法求最大最小值; ...
分类:编程语言   时间:2018-07-29 22:30:27    阅读次数:178
HDU - 1003 Max Sum
Given a sequence a[1],a[2],a[3]......a[n], your job is to calculate the max sum of a sub-sequence. For example, given (6,-1,5,4,-7), the max sum in th ...
分类:其他好文   时间:2018-07-29 12:57:04    阅读次数:158
1001 A+B Format (20)
Calculate a + b and output the sum in standard format -- that is, the digits must be separated into groups of three by commas (unless there are less t ...
分类:其他好文   时间:2018-07-29 11:55:14    阅读次数:177
HDU 2058 The Sum Problem
http://acm.hdu.edu.cn/showproblem.php?pid=2058 Problem Description Given a sequence 1,2,3,......N, your job is to calculate all the possible sub-seque ...
分类:其他好文   时间:2018-07-28 00:13:19    阅读次数:119
959条   上一页 1 ... 15 16 17 18 19 ... 96 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!