码迷,mamicode.com
首页 >  
搜索关键字:time out in 60 secon    ( 87683个结果
方程式
方程式Time Limit:1000MSMemory Limit:65535KBSubmissions:2312Accepted:580DescriptionConsider equations having the following form: a*x1*x1 + b*x2*x2 + c*x3*...
分类:其他好文   时间:2014-05-05 21:36:51    阅读次数:222
火柴棍
火柴棍Time Limit:1000MSMemory Limit:65535KBSubmissions:82Accepted:21Description火柴棍可以拼成10进制的数字,如图所示:现在,gogo给你个n个火柴棍,要求你输出最小能拼成的数字和最大能拼成的数字。Input第一行输入一个整数T...
分类:其他好文   时间:2014-05-05 21:32:02    阅读次数:365
[leetcode] Best Time to Buy and Sell Stock III
Say you have an array for which theithelement is the price of a given stock on dayi.Design an algorithm to find the maximum profit. You may complete a...
分类:其他好文   时间:2014-05-03 23:21:20    阅读次数:292
采药
采药Time Limit:1000MSMemory Limit:65535KBSubmissions:380Accepted:113Description辰辰是个天资聪颖的孩子,他的梦想是成为世界上最伟大的医师。为此,他想拜附近最有威望的医师为师。医师为了判断他的资质,给他出了一个难题。医师把他带到...
分类:其他好文   时间:2014-05-03 23:04:07    阅读次数:351
[ACM] poj 2823 Sliding Window (单调队列)
Sliding Window Time Limit: 12000MS   Memory Limit: 65536K Total Submissions: 36315   Accepted: 10756 Case Time Limit: 5000MS Description An array of size n ≤ 106 is gi...
分类:Windows程序   时间:2014-05-03 17:20:55    阅读次数:450
codeforces A. TL 题解
Valera wanted to prepare a Codesecrof round. He's already got one problem and he wants to set a time limit (TL) on it. Valera has written n correct solutions. For each correct solution, he knows it...
分类:其他好文   时间:2014-05-03 16:53:51    阅读次数:364
[ACM] hdu 3415 Max Sum of Max-K-sub-sequence (单调队列)
Max Sum of Max-K-sub-sequence Time Limit: 2000/1000 MS (Java/Others)    Memory Limit: 32768/32768 K (Java/Others) Total Submission(s): 5673    Accepted Submission(s): 2049 Problem Description...
分类:其他好文   时间:2014-05-03 16:30:10    阅读次数:412
HDU 4355 Party All the Time 三分
点击打开链接 Party All the Time Time Limit: 6000/2000 MS (Java/Others)    Memory Limit: 65536/32768 K (Java/Others) Total Submission(s): 2961    Accepted Submission(s): 939 Problem Description...
分类:其他好文   时间:2014-05-03 15:30:56    阅读次数:374
java中可以让实例改变了类Feild(java这么干就是一个错误,你看到了就当做是类在该修改或这个类Feild)
classPerson { publicStringname;//定义实例Feild publicstaticinteyeNum;//定义类Feild } publicclassPersonTest { publicstaticvoidmain(String[]args) { System.out.println("Person的eyeNum的类Feild值是:" +Person.eyeNum); } }运行:[root@server254java]#javaPersonTes..
分类:编程语言   时间:2014-05-03 15:02:27    阅读次数:484
[Redis]python连接redis
只是看看能不能成功使用python操作redis,redis具体的数据结构和使用会在以后学习。安装连接redis的包pipinstallredis本地已经在6379端口启动了redis服务。In[1]:importredis In[2]:r=redis.StrictRedis(host=‘localhost‘,port=6379,db=0) In[3]:r.set(‘foo‘,‘bar‘) Out[3]:Tru..
分类:编程语言   时间:2014-05-03 14:38:32    阅读次数:405
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!