background preloader

Smultron.sourceforge.net

Smultron.sourceforge.net

Timus 1002. Phone numbers - 银河博客园 Timus 1002. Phone numbers 要求根据所给的字典找出表示指定电话号码的单词序列。 Time Limit: 2.0 second Memory Limit: 16 MB In the present world you frequently meet a lot of call numbers and they are going to be longer and longer. You need to remember such a kind of numbers. This way every word or a group of words can be assigned a unique number, so you can remember words instead of call numbers. Write a program to find the shortest sequence of words (i.e. one having the smallest possible number of words) which corresponds to a given number and a given list of words. Input Input contains a series of tests. Output Each line of output contains the shortest sequence of words which has been found by your program. Sample Problem Source: Central European Olympiad in Informatics 1999 解答如下: 上述程序 16 - 31 行的 Run 方法循环读取输入,在 25 行调用 WordToNumber 方法(60 - 65 行)将字典中的英文单词转换为阿拉伯数字。 这个程序的核心是 33 - 58 行的 GetMatchIndexs 方法。 据说 Aho-Corasick 算法也可以用于这道题,且时间复杂度是线性的。 返回目录

YemuZip - Free Zip Tool for Mac OS X Drag, drop, done. Making zip files cannot be any easier. YemuZip is an easy-to-use application for making zip files. Just drag, drop, name your zip file and you're done. Mac OS X's built-in compress function makes zip files that contains Mac specific information that, when extracted on a PC, looks like garbage. YemuZip remembers your recently chosen destination folders. randy3k/Enhanced-R Name Mangler (Mac) - Download

Ruby array to string conversion Free Vector graphic art, free photos, free icons, free website templates, psd graphic, photoshop brush, font, free download GoAgentX Libreria Maxilibros - Bienvendos dsanson/Pandoc.tmbundle ActualSales Marked Bonus Pack (scripts, commands and bundles) / How-to, tips and tricks / Knowledge Base - Marked Support Download the MarkedBonusPack.zip. (v1.5). The System Service is temporarily non-functional, this will be remedied shortly. The Marked Bonus Pack is a collection of scripts, commands and services. Installation and Usage Services Put the Services in ~/Library/Services, where ~ is your user's home folder. TextMate Double-click on the Marked bundle to open it in TextMate's Bundle Editor. There's a third command for stripping header id's out of HTML documents. Sublime Text 2 Copy the Marked.sublime-build file to ~/Library/Application Support/Sublime Text 2/Packages/User/. Vim Via A Whole Lot of Bollocks: Add the following to your .vimrc file :nnoremap <leader>m :silent ! \m (or your preferred leader) will now open the current file in Marked. Emacs Via Barry Add the following to your .emacs file Command key is Control-c m AppleScript The nvALT scripts do their best to figure out the file, but don't always work. Watchers More info:

Planes de usuario ¿Cómo funciona Posteator? Posteator te permite insertar simultáneamente un determinado número de anuncios. Cada uno de los anuncios podrás insertarlo en los distintos portales cada tres días. ¿Puedo seleccionar los portales donde quiero publicar mis anuncios? Si, de todo nuestro listado de portales puedes seleccionar todos o sólamente algunos. ¿Cuanto tardan en publicarse los anuncios? En algunos portales se publican inmediatamente, en otros pueden tardar varias horas, pero en general, al cabo de un día tu anuncio se habrá publicado en todos los portales. ¿Se publicarán todos mis anuncios en los portales que decís publicar? Posteator enviará siempre tu anuncio a todos los portales que hayas seleccionado. ¿Cómo se realiza el pago del usuario Premium? El pago se realiza de forma segura mediante Paypal, donde se te dará la opción de pagar con dinero Paypal o también con tarjeta de crédito. ¿Puedo solicitar facturas? Si. Por supuesto.

Related: