Windows@echo offmysqldump --add-drop-database
--add-drop-table -u root -p123456 dbname >
d:\db_backup\%date:~0,4%-%date:~5,2%-%date:~8,2%_%time:~0,2%-...
分类:
数据库 时间:
2014-04-30 21:41:43
阅读次数:
526
折线分割平面Time Limit: 2000/1000 MS (Java/Others)Memory
Limit: 65536/32768 K (Java/Others)Total Submission(s): 15709Accepted
Submission(s): 10836Problem De...
分类:
其他好文 时间:
2014-04-30 21:37:40
阅读次数:
516
otp (one-time
password)http://tools.ietf.org/html/rfc4226相应协议unified push
serverhttps://github.com/aerogear/aerogear-unifiedpush-server
分类:
移动开发 时间:
2014-04-30 18:51:28
阅读次数:
500
凸多边形Time Limit: 2000 MSMemory Limit: 65536
KTotal Submit: 154(27 users)Total Accepted: 50(22 users)Rating:Special
Judge:NoDescription已知一个凸多边形A(包含n个点,点...
分类:
其他好文 时间:
2014-04-30 14:38:36
阅读次数:
406
原题地址:http://oj.leetcode.com/problems/4sum/题意:从数组中找到4个数,使它们的和为target。要求去重,可能有多组解,需要都找出来。解题思路:一开始想要像3Sum那样去解题,时间复杂度为O(N^3),可无论怎么写都是Time
Limited Exceeded...
分类:
编程语言 时间:
2014-04-30 13:28:46
阅读次数:
445
这里送上一道微软的笔试题,具体题目如下:Time Limit: 10000msCase
Time Limit: 1000msMemory Limit: 256MBDescriptionConsider a string set that each
of them consists of {0,...
分类:
其他好文 时间:
2014-04-29 21:23:55
阅读次数:
662
没说的 暴力打表#include#includeusing namespace std;int
a[62768];int b[42768];int prime[42768];int main(){ int n=0,j,i;
memset(b,0,sizeof(b)); memset...
分类:
其他好文 时间:
2014-04-29 18:24:19
阅读次数:
435
好高兴 一上午做了2个题 题意:求素因子只有2 3 5 7 数 约束的个数 我用的时搜索计数法
感觉还应该有比较不错的组合数学方法#includeusing namespace std;__int64 dmax;int prime[4];void
dfs(int t){ if(t>=4) { ...
分类:
其他好文 时间:
2014-04-29 11:21:47
阅读次数:
278
题目: There are two sorted arrays A and B of size m
and n respectively. Find the median of the two sorted arrays. The overall run
time complexity should...
分类:
其他好文 时间:
2014-04-29 10:32:46
阅读次数:
359
第一次打表一言难尽 注意表的范围 因为打表 数组长度不好计算算
要有个结尾标志#includeusing namespace std;int
prime[1000]={5,7,11,101,131,151,181,191,313,353,373,383,727,757,787,797,919,9.....
分类:
其他好文 时间:
2014-04-29 10:27:47
阅读次数:
471