上一页 1 ··· 14 15 16 17 18 19 20 21 22 ··· 25 下一页

2013年12月21日

统计难题 HDOJ--2222

摘要: Keywords SearchTime Limit: 2000/1000 MS (Java/Others)Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 29287Accepted Submission(s): 9572Problem DescriptionIn the modern time, Search engine came into the life of everybody like Google, Baidu, etc.Wiskey also wants to bring this feature to 阅读全文

posted @ 2013-12-21 10:05 ~Love() 阅读(174) 评论(0) 推荐(0)

2013年12月17日

Linux下安装搜狗输入法

摘要: 目前的搜狗输入法 for Linux 是Linux Deepin 社区版的测试版,基于Fcitx 框架。话不多说,直接上。准备工作:卸载Ubuntu默认的ibus输入法:sudo apt-get remove ibus然后添加Fcitx 源:sudo add-apt-repository ppa:fcitx-team/nightlysudo apt-get update然后安装fcitx,搜狗输入法,Google输入法,云输入法,以及设置fcitx为默认:sudo apt-get install fcitx fcitx-config-gtk fcitx-sunpinyin fcitx-goog 阅读全文

posted @ 2013-12-17 21:41 ~Love() 阅读(447) 评论(0) 推荐(0)

2013年12月12日

统计难题 HDOJ --1251

摘要: 统计难题Time Limit: 4000/2000 MS (Java/Others)Memory Limit: 131070/65535 K (Java/Others)Total Submission(s): 15031Accepted Submission(s): 6436Problem DescriptionIgnatius最近遇到一个难题,老师交给他很多单词(只有小写字母组成,不会有重复的单词出现),现在老师要他统计出以某个字符串为前缀的单词数量(单词本身也是自己的前缀).Input输入数据的第一部分是一张单词表,每行一个单词,单词的长度不超过10,它们代表的是老师交给Ignatius统 阅读全文

posted @ 2013-12-12 13:21 ~Love() 阅读(172) 评论(0) 推荐(0)

2013年12月10日

剪花布条 --HDOJ 2087

摘要: 剪花布条Time Limit: 1000/1000 MS (Java/Others)Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 6966Accepted Submission(s): 4643Problem Description一块花布条,里面有些图案,另有一块直接可用的小饰条,里面也有一些图案。对于给定的花布条和小饰条,计算一下能从花布条中尽可能剪出几块小饰条来呢?Input输入中含有一些数据,分别是成对出现的花布条和小饰条,其布条都是用可见ASCII字符表示的,可见的ASCII字符有多少个,布条的花纹也有多少 阅读全文

posted @ 2013-12-10 20:06 ~Love() 阅读(209) 评论(0) 推荐(0)

Number Sequence ----HDOJ 1711

摘要: Number SequenceTime Limit: 10000/5000 MS (Java/Others)Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 9058Accepted Submission(s): 4149Problem DescriptionGiven two sequences of numbers : a[1], a[2], ...... , a[N], and b[1], b[2], ...... , b[M] (1 2 int a[1000005], b[10005]; 3 int fail.. 阅读全文

posted @ 2013-12-10 18:49 ~Love() 阅读(144) 评论(0) 推荐(0)

2013年12月7日

B. Berland Bingo

摘要: Lately, a national version of a bingo game has become very popular in Berland. There arenplayers playing the game, each player has a card with numbers. The numbers on each card are distinct, but distinct cards can have equal numbers. The card of thei-th player containsminumbers.During the game the h 阅读全文

posted @ 2013-12-07 22:37 ~Love() 阅读(277) 评论(0) 推荐(0)

2013年12月6日

迷宫城堡--HDOJ 1269(Tarjan)

摘要: 迷宫城堡Time Limit: 2000/1000 MS (Java/Others)Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 5732Accepted Submission(s): 2543Problem Description为了训练小希的方向感,Gardon建立了一座大城堡,里面有N个房间(N10 #include11 typedef struct12 {13 int to;14 int next;15 }EdgeNode;16 EdgeNode edge[100005];17 int dfn... 阅读全文

posted @ 2013-12-06 09:35 ~Love() 阅读(270) 评论(0) 推荐(0)

2013年12月4日

迷宫城堡--HDOJ 1269

摘要: 迷宫城堡Time Limit: 2000/1000 MS (Java/Others)Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 5730Accepted Submission(s): 2542Problem Description为了训练小希的方向感,Gardon建立了一座大城堡,里面有N个房间(N 9 #include10 typedef struct11 {12 int to;13 int next;14 }EdgeNode;15 EdgeNode edge[100005],redge[1000... 阅读全文

posted @ 2013-12-04 21:21 ~Love() 阅读(300) 评论(0) 推荐(0)

2013年12月2日

前向星,链式前向星

摘要: 很久没做图论了,基本的数据结构都有点忘了,现在复习下,继续图论 1 /******************************************************************/ 2 Author:wangzhili 3 title:test.c 4 time: 2013年 12月 02日 星期一 18:07:16 CST 5 /******************************************************************/ 6 #include 7 #include13 typedef struct 1... 阅读全文

posted @ 2013-12-02 18:36 ~Love() 阅读(365) 评论(0) 推荐(0)

2013年11月12日

linux下建立无线wifi------简单实用!

摘要: 一 安装必要软件安装hostapd : sudo apt-get install hostapd安装DHCP: sudo apt-get install dhcp3-server二 配置HOSTAPD新建hostapd.conf 文件,将其存放到:/etc/hostapd/hostapd.conf ,文件内容如下:interface=wlan0driver=nl80211ssid=XXXXXXhw_mode=gchannel=10macaddr_acl=0auth_algs=3wpa=2wpa_passphrase=XXXXXXwpa_key_mgmt=WPA-PSKwpa_pairwis.. 阅读全文

posted @ 2013-11-12 23:06 ~Love() 阅读(823) 评论(0) 推荐(0)

上一页 1 ··· 14 15 16 17 18 19 20 21 22 ··· 25 下一页

导航