钱币兑换问题Time Limit: 2000/1000 MS (Java/Others)Memory
Limit: 65536/32768 K (Java/Others)Total Submission(s): 5069Accepted
Submission(s): 2868Problem Desc...
分类:
其他好文 时间:
2014-04-30 04:43:13
阅读次数:
495
敌兵布阵Time Limit: 2000/1000 MS
(Java/Others)Memory Limit: 65536/32768 K (Java/Others)Total Submission(s):
37406Accepted Submission(s): 15774Problem Desc...
分类:
其他好文 时间:
2014-04-30 04:07:14
阅读次数:
504
def highlight_element(self, locator):
"""docstring for highlight_element""" self._info("start") element =
self._element_find(...
分类:
Web程序 时间:
2014-04-30 03:28:21
阅读次数:
610
题目: 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 the t...
分类:
其他好文 时间:
2014-04-30 03:20:07
阅读次数:
502
BillboardTime Limit: 20000/8000 MS
(Java/Others)Memory Limit: 32768/32768 K (Java/Others)Total Submission(s):
9045Accepted Submission(s): 4021Problem ...
分类:
其他好文 时间:
2014-04-29 23:55:50
阅读次数:
2545
Given an arraySofnintegers, are there
elementsa,b,c, anddinSsuch thata+b+c+d= target? Find all unique quadruplets in
the array which gives the sum of ...
分类:
其他好文 时间:
2014-04-29 22:40:00
阅读次数:
438
求由所有的点组成的三角形中周长最小的三角形的周长1.将所有的点按横坐标大小排序2.从第一个点开始往后枚举,判断能否组成三角形,判断当前三角形周长是否小于已经得到的最小周长代码如下:#include#include#include#includeusing
namespace std;const do...
分类:
其他好文 时间:
2014-04-29 21:14:42
阅读次数:
504
题意:求N!中末尾0的个数 其实就是5的个数 因为2*5=10
肯定n中2的个数比5的个数多#includeusing namespace std;int main(){ int n; int t,d; int sum;
scanf("%d",&t); while(t...
分类:
其他好文 时间:
2014-04-29 21:09:41
阅读次数:
346
StarsTime Limit: 2000/1000 MS (Java/Others)Memory
Limit: 65536/32768 K (Java/Others)Total Submission(s): 4052Accepted
Submission(s): 1592Problem Descr...
分类:
其他好文 时间:
2014-04-29 21:00:23
阅读次数:
621
典型的快速幂成应用题意:求x 使得x^e%n=num#includeusing namespace
std;bool funtion(int x,int e,int n,int num){// m^n % k int b = 1; while (e >
0) { i...
分类:
其他好文 时间:
2014-04-29 20:20:25
阅读次数:
414