码迷,mamicode.com
首页 >  
搜索关键字:codility    ( 89个结果
Codility---MaxDoubleSliceSum
Task description A non-empty zero-indexed array A consisting of N integers is given. A triplet (X, Y, Z), such that 0 ≤ X < Y < Z < N, is called a dou ...
分类:其他好文   时间:2017-06-12 10:40:49    阅读次数:208
Codility---MaxProfit
Task description A zero-indexed array A consisting of N integers is given. It contains daily prices of a stock share for a period of N consecutive day ...
分类:其他好文   时间:2017-06-11 12:10:00    阅读次数:213
1283 最小周长
1283 最小周长 题目来源: Codility 基准时间限制:1 秒 空间限制:131072 KB 分值: 5 难度:1级算法题 一个矩形的面积为S,已知该矩形的边长都是整数,求所有满足条件的矩形中,周长的最小值。例如:S = 24,那么有{1 24} {2 12} {3 8} {4 6}这4种矩 ...
分类:其他好文   时间:2017-06-04 22:41:52    阅读次数:207
51nod1289 stack
1289 大鱼吃小鱼 题目来源: Codility 基准时间限制:1 秒 空间限制:131072 KB 分值: 5 难度:1级算法题 收藏 关注 1289 大鱼吃小鱼 题目来源: Codility 基准时间限制:1 秒 空间限制:131072 KB 分值: 5 难度:1级算法题 1289 大鱼吃小鱼 ...
分类:其他好文   时间:2017-05-21 23:29:21    阅读次数:387
Codility---Fish
Task description You are given two non-empty zero-indexed arrays A and B consisting of N integers. Arrays A and B represent N voracious fish in a rive ...
分类:其他好文   时间:2017-05-02 11:57:45    阅读次数:225
Codility---Brackets
Task description A string S consisting of N characters is considered to be properly nestedif any of the following conditions is true: S is empty; S ha ...
分类:其他好文   时间:2017-05-01 01:23:23    阅读次数:226
Codility--- NumberOfDiscIntersections
Task description We draw N discs on a plane. The discs are numbered from 0 to N ? 1. A zero-indexed array A of N non-negative integers, specifying the ...
分类:其他好文   时间:2017-05-01 01:23:13    阅读次数:467
Codility--- Distinct
Task description Write a function class Solution { public int solution(int[] A); } that, given a zero-indexed array A consisting of N integers, return ...
分类:其他好文   时间:2017-04-29 09:52:00    阅读次数:215
Codility---MaxProductOfThree
Task description A non-empty zero-indexed array A consisting of N integers is given. Theproduct of triplet (P, Q, R) equates to A[P] * A[Q] * A[R] (0 ...
分类:其他好文   时间:2017-04-29 09:45:29    阅读次数:199
Codility--- Triangle
Task description A zero-indexed array A consisting of N integers is given. A triplet (P, Q, R) is triangular if 0 ≤ P < Q < R < N and: A[P] + A[Q] > A ...
分类:其他好文   时间:2017-04-29 09:41:44    阅读次数:242
89条   上一页 1 2 3 4 5 ... 9 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!