最新 最热

leetcode-645-Set Mismatch

题目描述:The set S originally contains numbers from 1 to n. But unfortunately, due to the data error, one of the numbers in the set got duplicated to another numbe...

2018-05-22
0

leetcode-263-Ugly Number

题目描述:Write a program to check whether a given number is an ugly number.Ugly numbers are positive numbers whose prime factors only include 2, 3, 5. For example...

2018-05-21
0

Leetcode-Easy 728. Self Dividing Numbers

728. Self Dividing Numbers 描述: 判断一个数是否可以被自己所包含的数整除,如果本身还有0,则不可以 思路: 直接遍历判断代码class Solut

2018-04-11
0

POJ 2370 Democracy in danger(简单贪心)

Democracy in danger Time Limit: 1000MS Memory Limit: 65536K Total Submissions: 3388 Accepted: 2508 DescriptionIn one of the countries of Caribbea...

2018-04-08
0

Codeforces Beta Round #1 A,B,C

A. Theatre Squaretime limit per test:1 secondmemory limit per test:256 megabytesinput:standard inputoutput:standard outputTheatre Square in the capital cit...

2018-04-08
0

ZOJ 1403&&HDU 1015 Safecracker【暴力】

Safecracker----Time Limit: 2 Seconds      Memory Limit: 65536 KB----=== Op tech briefing, 2002/11/02 06:42 CST ==="The item is locked in a Klein safe behin...

2018-04-08
1

poj------(3468)A Simple Problem with Integers(区间更新)

A Simple Problem with Integers Time Limit: 5000MS Memory Limit: 131072K Total Submissions: 60745 Accepted: 18522 Case Time Limit: 2000MS Descrip...

2018-03-26
0

Combination Sum 组合数求和-Leetcode

原题:Given a set of candidate numbers (C) and a target number (T), find all unique combinations in C where the candidate numbers sums to T.The same repeated num...

2018-03-19
0

Combination Sum II 组合数求和之2-Leetcode

原题:Given a collection of candidate numbers (C) and a target number (T), find all unique combinations in C where the candidate numbers sums to T.Each number in...

2018-03-19
0

Leetcode 2 Add Two Numbers

题目没有说清楚,trick挺多,考察细心程度的水题吧。 You are given two linked lists representing two non-negative numbers. The digits are stored in reverse order and each of their n......

2018-01-12
1