日之前点击链接进行网上报名,只有报名成功的同学才能参加选拔赛。
问题 F: Graph
时间限制: 1 Sec 内存限制: 128 MB
提交: 30 解决: 5
[提交][状态][论坛]
题目描述
Your task is to judge whether a regular polygon can be drawn only by straightedge...
分类:
其他好文 时间:
2014-05-26 05:29:16
阅读次数:
389
Problem Description
In a 2_D plane, there is a point strictly in a regular polygon with N sides. If you are given the distances between it and N vertexes of the regular polygon, can you calculate t...
分类:
其他好文 时间:
2014-05-26 03:50:40
阅读次数:
252
what is websocketsTwo-way communication over
ont TCP socket, a type of PUSH technology HTML5的新特性,用于双向推送消息(例如网页聊天,手机推送消息等)
原理:client利用regular http请求w.....
分类:
Web程序 时间:
2014-05-23 11:28:28
阅读次数:
560
正则表达式(Regular Expression(RE))是透过一些特殊字符的排列,
用以"搜寻/取代/删除"一列或多列文字字符串, 简单的说, 正则表达式就是用在字符串的处理上面的一项"表达式". 正则表达式并不是一个工具程序,
而是一个字符串处理的标准依据, 如果想要用用正则表达式处理字符串, ...
分类:
系统相关 时间:
2014-05-22 05:17:10
阅读次数:
278
简介grep (global search regular expression(RE)
and print out the
line,全面搜索正则表达式并把行打印出来)是一种强大的文本搜索工具,它能使用正则表达式搜索文本,并把匹配的行打印出来。Unix的grep家族包括grep、egrep和fgr...
分类:
系统相关 时间:
2014-05-18 02:10:16
阅读次数:
529
/** * Schedule a countdown until a time in the
future, with regular notifications on intervals along the way. * * Example of
showing a 30 second count...
分类:
其他好文 时间:
2014-05-16 04:21:02
阅读次数:
311
这道题跟有?和*的那道题很像,不过要简单一些。为什么会简单呢,因为*号只能匹配跟它前面相同的字符。需要注意一点,从aab可以用c*a*b来匹配可以看出,*号可以使他之前的那个字符出现次数变成0。
昨天实验室的同学正好在做这个题,说想用递归做,我想都没想就说用递归肯定超时了。她为什么,我跟人家说因为递归的分支太多了,可怎么也想不起当初自己是怎么写的,回来一看,居然用递归做的,打脸啊。。这个题为什么...
分类:
其他好文 时间:
2014-05-15 13:29:34
阅读次数:
229
Regular Expression Special Characters
"."---Any single character(a "wildcard")
"["---Begin character class
"]"---End character class
"{"---Begin count
"}"---End count
"("---Begin grouping
")"...
分类:
其他好文 时间:
2014-05-15 01:41:09
阅读次数:
548
An intent service is similar to regular
service, with two main exceptions: whatever work is to be done in
onHandleIntent() will execute on a separate ...
分类:
移动开发 时间:
2014-05-14 22:53:39
阅读次数:
395
【题目】
Implement regular expression matching with support for '.' and '*'.
'.' Matches any single character.
'*' Matches zero or more of the preceding element.
The matching should cover the entire input string (not partial).
The function prototype shoul...
分类:
其他好文 时间:
2014-05-14 21:36:52
阅读次数:
348