Given a positive 32-bit integer n, you need to find the smallest 32-bit integer which has exactly the same digits existing in the integer n and is gre ...
分类:
其他好文 时间:
2017-05-02 19:53:35
阅读次数:
160
地址:http://acm.zju.edu.cn/onlinejudge/showProblem.do?problemCode=3959 题目: It's time to prepare the problems for the 14th Zhejiang Provincial Collegiate ...
分类:
其他好文 时间:
2017-04-25 22:28:00
阅读次数:
519
A sequence S = {s1, s2, ..., sn} is called heapable if there exists a binary tree T with n nodes such that every node is labelled with exactly one ele ...
分类:
其他好文 时间:
2017-04-25 22:16:34
阅读次数:
221
A. Mike and palindrome(TwoPoints) Mike has a string s consisting of only lowercase English letters. He wants to change exactly one character from the ...
分类:
其他好文 时间:
2017-04-22 14:39:03
阅读次数:
340
It is possible to write five as a sum in exactly six different ways: 4 + 1 3 + 2 3 + 1 + 1 2 + 2 + 1 2 + 1 + 1 + 1 1 + 1 + 1 + 1 + 1 How many differen ...
分类:
其他好文 时间:
2017-04-17 11:34:33
阅读次数:
151
You have a total of n coins that you want to form in a staircase shape, where every k-th row must have exactly k coins. Given n, find the total number ...
分类:
其他好文 时间:
2017-04-14 16:34:46
阅读次数:
201
vue菜鸟一枚,下载github上的代码来框架和思路,添加自己新的代码调试的时候,发现了一个错误,,具体报错如: 刚开始这样写得时候是没有发现啥错误的,我只是在后面添加一个<div></div>或是加了别的就说出现这个错误 原来vue模板只能有一个根对象 所以你想要出现正常的效果,你的用一个div来 ...
分类:
其他好文 时间:
2017-04-14 14:19:13
阅读次数:
446
问题描写叙述: Given an array of integers, find two numbers such that they add up to a specific target number. The function twoSum should return indices of t ...
分类:
其他好文 时间:
2017-04-12 12:25:05
阅读次数:
161
题目: Description Did you know that if you draw a circle that fills the screen on your 1080p high definition display, almost a million pixels are lit? T ...
分类:
其他好文 时间:
2017-04-11 01:22:26
阅读次数:
227
Given a positive 32-bit integer n, you need to find the smallest 32-bit integer which has exactly the same digits existing inthe integer n and is grea ...
分类:
其他好文 时间:
2017-04-09 14:28:01
阅读次数:
118