码迷,mamicode.com
首页 >  
搜索关键字:positive    ( 2430个结果
Partition to K Equal Sum Subsets
Given an array of integers nums and a positive integer k, find whether it's possible to divide this array into k non-empty subsets whose sums are all ...
分类:其他好文   时间:2019-05-06 01:27:57    阅读次数:113
Awkward Response AtCoder - 2656 ( 二分+交互题)
Problem Statement This is an interactive task. Snuke has a favorite positive integer, N. You can ask him the following type of question at most 64 tim ...
分类:其他好文   时间:2019-05-05 19:23:38    阅读次数:158
PAT 1122 Hamiltonian Cycle
1122 Hamiltonian Cycle (25 分) 1122 Hamiltonian Cycle (25 分) 1122 Hamiltonian Cycle (25 分) The "Hamilton cycle problem" is to find a simple cycle that ...
分类:其他好文   时间:2019-05-04 16:20:31    阅读次数:121
poj 1741 tree(点分治)
Description Give a tree with n vertices,each edge has a length(positive integer less than 1001). Define dist(u,v)=The min distance between node u and ...
分类:其他好文   时间:2019-05-03 18:35:52    阅读次数:108
hdu 6268 Master of Subgraph(点分治+bitset)
You are given a tree with n nodes. The weight of the i-th node is wi. Given a positive integer m, now you need to judge that for every integer i in [1 ...
分类:其他好文   时间:2019-05-03 18:14:04    阅读次数:163
Length of Longest Fibonacci Subsequence LT873
A sequence X_1, X_2, ..., X_n is fibonacci-like if: n >= 3 X_i + X_{i+1} = X_{i+2} for all i + 2 <= n Given a strictly increasing array A of positive ...
分类:其他好文   时间:2019-05-03 09:23:55    阅读次数:97
PAT 1020 Tree Traversals
1020 Tree Traversals (25 分) 1020 Tree Traversals (25 分) 1020 Tree Traversals (25 分) Suppose that all the keys in a binary tree are distinct positive i ...
分类:其他好文   时间:2019-05-02 09:19:39    阅读次数:97
PAT 1104 Sum of Number Segments
1104 Sum of Number Segments (20 分) 1104 Sum of Number Segments (20 分) 1104 Sum of Number Segments (20 分) Given a sequence of positive numbers, a segme ...
分类:其他好文   时间:2019-05-01 13:20:46    阅读次数:85
PAT 1136 A Delayed Palindrome
1136 A Delayed Palindrome (20 分) 1136 A Delayed Palindrome (20 分) 1136 A Delayed Palindrome (20 分) Consider a positive integer N written in standard n ...
分类:其他好文   时间:2019-04-29 12:49:14    阅读次数:157
leetcode [216]Combination Sum III
Find all possible combinations of k numbers that add up to a number n, given that only numbers from 1 to 9 can be used and each combination should be ...
分类:其他好文   时间:2019-04-29 11:01:27    阅读次数:122
2430条   上一页 1 ... 30 31 32 33 34 ... 243 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!