码迷,mamicode.com
首页 > 其他好文
FYSHOP OPENCART 主题模板 ABC-0430
FYSHOP OPENCART 主题模板 ABC-0430 FyShop - opencart 1.5.x template The demo is on 1.5.1.x , the 1.5.2.x to 1.5.6.x versions are the same, but with few minor modifications - cool and modern design; ...
分类:其他好文   时间:2015-04-25 21:21:35    阅读次数:137
【欧拉函数】hdoj 抱歉
抱歉 Time Limit: 2000/1000 MS (Java/Others)    Memory Limit: 65536/32768 K (Java/Others) Total Submission(s): 3948    Accepted Submission(s): 1679 Problem Description 非常抱歉,本来兴冲冲地搞一场练习赛,由于我准备不足...
分类:其他好文   时间:2015-04-25 21:19:00    阅读次数:125
nyoj 18 The Triangle 动态规划
和nyoj613(免费馅饼)一样的原理  从下 网上依次遍历 存贮最大值 #include #include using namespace std; int main() { int n,num[105][105]={0}; scanf("%d",&n); for(int i=1;i<=n;i++) for(int j=1;j<=i;j++) scanf("%d",&num[i]...
分类:其他好文   时间:2015-04-25 21:18:00    阅读次数:148
hdu 1087 Super Jumping! Jumping! Jumping!
给出一个序列,求所有上升序列中和最大的一个值m,(该序列不一定连续) 例如4 1 3 2 4这组数据的结果为8 #include #include #define maxn 1000+5 using namespace std; int rem[maxn],dp[maxn]; int main() { int n; while(cin>>n&&n) { for(int i=0;i>r...
分类:其他好文   时间:2015-04-25 21:17:00    阅读次数:145
centos安装firefox的flashplayer插件
1 下载install_flash_player_11_linux.x86_64.tar.gz,解压得到libflashplayer.so 2 将libflashplayer.so拷贝到/usr/lib64/firefox/plugins这个目录下,如果没有plugins这个文件夹,就新建一个 3 重启firefox即可...
分类:其他好文   时间:2015-04-25 21:18:07    阅读次数:169
解决端口占用问题
有时候我们在启动应用程序时常出现端口占用的问题,那么如何查出占用该端口的应用程序呢? 1.在cmd下输入netstat -ano,这时会列出所有端口的情况: 若此时的应用程序太多,可能你会看不到上面列出的一系列值,你需要在右键该窗口,在该窗口中的布局中把屏幕缓冲区的大小调大一点 2.在本地地址中冒号的后面找到你想找的端口,然后找到该行后面的PID值,如上面...
分类:其他好文   时间:2015-04-25 21:19:35    阅读次数:143
【POJ】 2182 - Lost Cows 【线段树入门】
题目: Lost Cows Time Limit: 1000MS   Memory Limit: 65536K Total Submissions: 9727   Accepted: 6261 Description N (2 <= N <= 8,000) cows have unique brands in the range...
分类:其他好文   时间:2015-04-25 21:18:25    阅读次数:130
”纸“读ZeroMQ之对象间的通信
喜欢在纸上写写画画, 便以这种方式呈现, 多见谅。...
分类:其他好文   时间:2015-04-25 21:17:53    阅读次数:104
POJ 3249 Test for Job (记忆化搜索 好题)
POJ 3249 Test for Job (记忆化搜索 好题)...
分类:其他好文   时间:2015-04-25 21:16:45    阅读次数:121
12th浙江省省赛 H May Day Holiday
May Day Holiday Time Limit: 2 Seconds      Memory Limit: 65536 KB As a university advocating self-learning and work-rest balance, Marjar University has so many days of rest, including holiday...
分类:其他好文   时间:2015-04-25 21:16:28    阅读次数:173
政协委员疑阻止偷砂得罪人 家中遭枪击
http://ishow.arting365.com/work/1712165/20150424 http://ishow.arting365.com/work/1712166/20150424 http://ishow.arting365.com/work/1712167/20150424 http://ishow.arting365.com/work/1712168/20150424 ...
分类:其他好文   时间:2015-04-25 21:14:27    阅读次数:117
CountDownLatch的用法
CountDownLatch,一个同步辅助类,在完成一组正在其他线程中执行的操作之前,它允许一个或多个线程一直等待。 主要方法  public CountDownLatch(int count);  public void countDown();  public void await()  举例: import java.text.SimpleDateFormat; impo...
分类:其他好文   时间:2015-04-25 21:15:52    阅读次数:116
12th浙江省省赛 J Convert QWERTY to Dvorak(细节模拟题)
Convert QWERTY to Dvorak Time Limit: 2 Seconds      Memory Limit: 65536 KB Edward, a poor copy typist, is a user of the Dvorak Layout.But now he has only a QWERTY Keyboard with a brokenCaps L...
分类:其他好文   时间:2015-04-25 21:13:12    阅读次数:161
LeetCode Recover Binary Search Tree
Two elements of a binary search tree (BST) are swapped by mistake. Recover the tree without changing its structure. Note: A solution using O(n) space is pretty straight forward. Could you devis...
分类:其他好文   时间:2015-04-25 21:15:52    阅读次数:186
通过SMTP发邮件
通过SMTP发邮件...
分类:其他好文   时间:2015-04-25 21:13:41    阅读次数:115
12th浙江省省赛 B题 Beauty of Array
Beauty of Array Time Limit: 2 Seconds      Memory Limit: 65536 KB Edward has an array A with N integers. He defines the beauty of an array as the summation of all distinct integers in the arr...
分类:其他好文   时间:2015-04-25 21:14:48    阅读次数:220
翻转字符串中单词的顺序
问题:翻转字符串中的单词顺序,如“hello world”变成“world hello”。要求使用常量空间。 c++代码如下: void reverse(string &s, int start, int end){ int len=end+start; int center=len/2; for(int i=start;i<center;i++){ ...
分类:其他好文   时间:2015-04-25 21:13:09    阅读次数:127
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!