摘要:
暴力过的。。 与限时只差0.03s。。。 Automatic Correction of MisspellingsTime limit:2sec.Submitted:30Memory limit:64MAccepted:17 Source: Ulm 2006Some text editors offer a feature to correct words which seem to be written incorrectly. In this problem you are asked to implement a simple Automatic Correction of Misspe 阅读全文
posted @ 2011-06-15 17:03
归雾
阅读(300)
评论(0)
推荐(0)
摘要:
通过位运算将所有组合列出后 搜索。 CrabblesTime limit:5sec.Submitted:45Memory limit:32MAccepted:32 Source: Waterloo Local Contest Feb. 25, 2006Jennifer is practicing for a Crabbles tournament. She pulls out a handful of Crabbles tiles out of a bag, and tries to form the word with the highest possible score. Each til 阅读全文
posted @ 2011-06-15 14:03
归雾
阅读(280)
评论(0)
推荐(0)
摘要:
string中 find, rfind, substr, insert函数的运用。 Defining MomentTime limit:1sec.Submitted:86Memory limit:64MAccepted:47 Source: South Central USA 2005As a homework assignment, you have been tasked with creating a programthat provides the meanings for many different words. As you dislikethe idea of writing 阅读全文
posted @ 2011-06-15 10:33
归雾
阅读(217)
评论(0)
推荐(0)
摘要:
用stl stack实现中缀转后缀及后缀运算。转换之前将缺少的操作数补0。 Single Digit AdderTime limit:1sec.Submitted:197Memory limit:32MAccepted:45 Source: The 2005 ACM Pacific Northwest Programming ContestWrite a program that can evaluate expressions from the following roughly BNF (Backus NaurForm) grammar:expr ::= term | expr ‘+’ t 阅读全文
posted @ 2011-06-15 00:41
归雾
阅读(262)
评论(0)
推荐(0)

浙公网安备 33010602011771号