其他-日排行
ListNode *deleteDuplicates(ListNode *head) //Remove Duplicates from Sorted List II { if(head==NULL||head->next==NULL) return head; ListNode* cur=head,*pre; ListNode dummy(INT_MIN); pre=&du...
分类:其他 时间:2014-04-22 14:34:24 收藏:0 阅读:542
小明系列问题——小明序列 Time Limit: 3000/1000 MS (Java/Others)    Memory Limit: 65535/32768 K (Java/Others) Total Submission(s): 1552    Accepted Submission(s): 456 Problem Description   大家都知道小明最喜欢研究...
分类:其他 时间:2014-04-22 15:46:11 收藏:0 阅读:464
Java Performance Tuning Guide中看到的: http://java-performance.info/inefficient-byte-to-string-constructor/ 大致是传递byte array,offset,len, 还有charset时其在内部会arrays.copyOf整个数组(而不是那个slice),这样如果数组本身很大,slice很小,byt...
分类:其他 时间:2014-04-22 15:38:07 收藏:0 阅读:461
题意: 荷马.辛普森(Homer Simpson)是一个非常聪明的家伙。他很喜欢吃两种汉堡(我们称为A和B好了)。他吃一个A汉堡需要m 分钟,吃一个B汉堡需要n 分钟。如果有t 分钟时间的话,请你找出在不浪费一点点时间的情形下,辛普森先生最多可以吃多少个汉堡。如果必须要浪费时间(这个时候辛普森会喝啤酒),也请你找出尽可能少喝啤酒的情况下,他最多可以吃几个汉堡,还有花多少分钟喝啤酒。 以Sample Input的三组测试资料为例说明: t=54, m=3, n=5 我们可以找到最多吃18 个A汉堡使得不浪费一...
分类:其他 时间:2014-04-22 21:08:06 收藏:0 阅读:517
1.hdu 1028Ignatius and the Princess III整数划分 1 #include 2 __int64 dp[121][121]; 3 int main() 4 { 5 __int64 i,j,k,n,m; 6 for(i=0;ij)20 ...
分类:其他 时间:2014-04-22 16:13:31 收藏:0 阅读:640
小明系列问题——小明序列 Time Limit: 3000/1000 MS (Java/Others)    Memory Limit: 65535/32768 K (Java/Others) Total Submission(s): 1553    Accepted Submission(s): 457 Problem Description   大家都知道小明最喜欢研究跟序列有...
分类:其他 时间:2014-04-22 19:08:37 收藏:0 阅读:372
UART与USART都是单片机上的串口通信,他们之间的区别如下:     首先从名字上看: UART:universal asynchronous receiver and transmitter通用异步收/发器 USART:universal synchronous asynchronous receiver and transmitter通用同步/异步收/发器     从名字上可以看出...
分类:其他 时间:2014-04-22 19:33:04 收藏:0 阅读:1609
Dubbo 是阿里巴巴公司开源的一个高性能优秀的服务框架,使得应用可通过高性能的 RPC 实现服务的输出和输入功能,可以和Spring框架无缝集成。主要核心部件:Remoting:网络通信框架,实现了 sync-over-async 和 request-response 消息机制.RPC:(Remo...
分类:其他 时间:2014-04-23 08:43:19 收藏:0 阅读:751
最近两天迷上了hexo和gitcafe,终于搭建好了...
分类:其他 时间:2014-04-23 03:15:05 收藏:0 阅读:566
这一题又是测试都正确,但是一直wa,无语啊,到底哪里错了,上一场也是这个样子,我觉得我需要请人指点一下才行了,自己已经无法突破了。 1 #include 2 #include 3 #include 4 #include 5 #include 6 #include 7 #define nnn 1000...
分类:其他 时间:2014-04-23 21:30:28 收藏:0 阅读:561
f(d)表示的是d的约数和所求答案为把询问按a排序树状数组处理F(t)前缀和然后对于[M/t][N/t]相同的一段直接算出F[t]的和然后*[M/t][N/t]即可复杂度nlog(n)*sqrt(n)#include#include#include#includeusing namespace st...
分类:其他 时间:2014-04-23 14:50:20 收藏:0 阅读:861
unit Unit1;interfaceuses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Types, System.UITypes, System.Classes, System.Variants, FMX.Types,.....
分类:其他 时间:2014-04-23 14:48:10 收藏:0 阅读:601
CentOS下网卡启动、配置等ifcfg-eth0教程http://blog.csdn.net/ei__nino/article/details/7641183分类:Linux2012-06-07 11:0915036人阅读评论(0)收藏举报centosinterface网络networkservi...
分类:其他 时间:2014-04-23 14:15:21 收藏:0 阅读:642
函数介绍来自:http://ganquan.info/standard-c/函数名:freopen功能: 替换一个流用法: FILE *freopen(char *filename, char *type, FILE *stream); 1 FILE * __cdecl _tfreopen ( 2 ...
分类:其他 时间:2014-04-23 14:03:43 收藏:0 阅读:570
Given a string S, find the longest palindromic substring in S. You may assume that the maximum length of S is 1000, and there exists one unique longe....
分类:其他 时间:2014-04-23 10:49:17 收藏:0 阅读:380
用于人体检测的方向梯度直方图Navneet Dalal,Bill Triggs摘要 我们研究了视觉目标检测的特征集问题,并用线性SVM方法进行人体检测来测试,通过与当前的基于边缘和梯度的描述子进行实验对比,得出方向梯度直方图(Histograms of Oriented Gradient,HOG)描...
分类:其他 时间:2014-04-23 17:11:05 收藏:0 阅读:934
首先是邮件帮助类using System; using System.Collections.Generic; using System.Text; using System.Net.Mail; using System.Windows.Forms; namespace zzEmail...
分类:其他 时间:2014-04-24 15:18:21 收藏:0 阅读:626
方便以后,直记录下来
分类:其他 时间:2014-04-24 13:10:30 收藏:0 阅读:426
前几周和专业人士聊了会,感觉自己想通过API来让用户获取自己的比赛记录等信息实在是蠢。毕竟APP会因为官方API的原因受到很大的限制,转而希望在用户的体验上作出限制或控制,实在是逗B的不行。结果之后就开始玩的不亦乐乎,好似不去考虑,问题就能解决烦恼不再。幸亏即时止住自己,不让自己放纵下去。在多番考虑...
分类:其他 时间:2014-04-24 13:11:47 收藏:0 阅读:466
枚举类型是一种的值类型,它用于声明一组命名的常数。(1)枚举的声明:枚举声明用于声明新的枚举类型。访问修辞符enum 枚举名:基础类型{枚举成员 }基础类型必须能够表示该枚举中定义的所有枚举数值。枚举声明可以显式地声明 byte、sbyte、short、ushort、int、uint、long 或 ...
分类:其他 时间:2014-04-24 12:54:07 收藏:0 阅读:477
117918018118218383372
上一页1667435下一页
© 2014 bubuko.com 版权所有 - 联系我们:wmxa8@hotmail.com
打开技术之扣,分享程序人生!