当前位置:首页 » 编程博文
开发技术指南» 文章正文
    引言: Problem:In millions of newspaper
 

 

    摘要:problem: one measure of ``unsortedness´´ in a sequence is the number of pairs of entries that are out of order with respect to each other. for instance, in the letter sequence ``daabec&acu......
 ·免费blog 程序集锦    »显示摘要«
    摘要: dlog: http://webdream.duoluo.com misslog: http://www.misslog.com/blog loveyukis blog: http://www.loveyuki.com oblog 0.9: http://www.oioj.net ublog: http://www.uapplication.com/demo/ubloga......


浙大在线评测 1181 Word Amalgamation
problem:

【程序编程相关:[解决] DreamWeaver MX

【推荐阅读:备考的日子.操作系统.绪论

    in millions of newspapers across the united states there is a word game called jumble. the object of this game is to solve a riddle, but in order to find the letters that appear in the answer it is necessary to unscramble four words. your task is to write a program that can unscramble words. 【扩展信息:LINUX 二进制安装 VS 源代码安装

input:

    the input contains four parts:

    1. a dictionary, which consists of at least one and at most 100 words, one per line;

    2. a line containing xxxxxx, which signals the end of the dictionary;

    3. one or more scrambled `words´ that you must unscramble, each on a line by itself; and

    4. another line containing xxxxxx, which signals the end of the file.

    all words, including both dictionary words and scrambled words, consist only of lowercase english letters and will be at least one and at most six characters long. (note that the sentinel xxxxxx contains uppercase x´s.) the dictionary is not necessarily in sorted order, but each word in the dictionary is unique.

output:


...   下一页
 ·dos游戏编程21条(转载)    »显示摘要«
    摘要:中国人是不甘落后的!让我们协起手来为中国的游戏事业奋斗吧! dos游戏编程二十一条 (the 21 faq of pc dos game) 我在一家游戏公司多年,现就自己的编程经验谈一点体会,希望能对大家有点帮助,本文中所有例子均在watcom c/c++ 10.6下调试通过。 1、找一种好的编程语言: 当然,游戏可以用任何语言编写,这是可以肯定的,我就使用过tur......
» 本期热门文章:

©2000-2007 All Rights Reserved. 最佳浏览:1024X768 MSIE