随笔分类 - 勤学算法的好宝宝
摘要:Sample Input TRGSJXDOKIM VLNWPABEUQHCFARRBBL0ABCDEFGHIJKLMNOPQRS TUVWXAAALLLL0ABCDEFGHIJKLMNOPQRS TUVWXAAAAABBRRRLL0Z 简单的模拟题。告诫一下自己注意这种情况:
阅读全文
摘要:UVa-401 Palindromes Description A regular palindrome is a string of numbers or letters that is the same forward as backward. For example, the string "
阅读全文
摘要:The Pilots Brothers' refrigerator Time Limit: 1000MS Memory Limit: 65536K Total Submissions: 27893 Accepted: 10802 Special Judge Description The game
阅读全文
摘要:10082 WERTYU A common typing error is to place the hands onthe keyboard one row to the right of the correctposition. So ‘Q’ is typed as ‘W’ and ‘J’ is
阅读全文
摘要:Flip Game Time Limit: 1000MS Memory Limit: 65536K Total Submissions: 48663 Accepted: 20724 Description Flip game is played on a rectangular 4x4 field
阅读全文
摘要:Moving Tables Time Limit: 1000MS Memory Limit: 10000K Total Submissions: 32929 Accepted: 11032 Description The famous ACM (Advanced Computer Maker) Co
阅读全文
摘要:Ancient Cipher Time Limit: 1000MS Memory Limit: 65536K Total Submissions: 36074 Accepted: 11765 Description Ancient Roman empire had a strong governme
阅读全文
摘要:Humidex Time Limit: 1000MS Memory Limit: 65536K Total Submissions: 23219 Accepted: 8264 Description Adapted from Wikipedia, the free encyclopedia The
阅读全文
摘要:Biorhythms Time Limit: 1000MS Memory Limit: 10000K Total Submissions: 141553 Accepted: 45485 Description Some people believe that there are three cycl
阅读全文
摘要:STAMPS Time Limit: 1000MS Memory Limit: 10000K Total Submissions: 19296 Accepted: 5651 Description Have you done any Philately lately? You have been h
阅读全文
摘要:Edge Detection Time Limit: 1000MS Memory Limit: 10000K Total Submissions: 22604 Accepted: 5311 Description IONU Satellite Imaging, Inc. records and st
阅读全文
摘要:Maya Calendar Time Limit: 1000MS Memory Limit: 10000K Total Submissions: 80533 Accepted: 24745 Description During his last sabbatical, professor M. A.
阅读全文
摘要:487-3279 Time Limit: 2000MS Memory Limit: 65536K Total Submissions: 300264 Accepted: 53757 Description Businesses like to have memorable telephone num
阅读全文
摘要:Exponentiation Time Limit: 500MS Memory Limit: 10000K Total Submissions: 175340 Accepted: 42341 Description Problems involving the computation of exac
阅读全文
摘要:Trees Made to Order Time Limit: 1000MS Memory Limit: 10000K Total Submissions: 7155 Accepted: 4094 Description We can number binary trees using the fo
阅读全文
摘要:卡塔兰数 卡塔兰数是组合数学中一个常出现在各种计数问题中出现的数列。由以比利时的数学家欧仁·查理·卡塔兰 (1814–1894)命名。 卡塔兰数的一般项公式为 另类递归式: h(n)=((4*n-2)/(n+1))*h(n-1); 前几项为: 1, 1, 2, 5, 14, 42, 132, 429
阅读全文
摘要:DNA Sorting Time Limit: 1000MS Memory Limit: 10000K Total Submissions: 105159 Accepted: 42124 Description One measure of ``unsortedness'' in a sequenc
阅读全文
摘要:Hangover Time Limit: 1000MS Memory Limit: 10000K Total Submissions: 131191 Accepted: 63828 Description How far can you make a stack of cards overhang
阅读全文
摘要:火车购票问题(16年ccf) 问题描述 请实现一个铁路购票系统的简单座位分配算法,来处理一节车厢的座位分配。 假设一节车厢有20排、每一排5个座位。为方便起见,我们用1到100来给所有的座位编号,第一排是1到5号,第二排是6到10号,依次类推,第20排是96到100号。 购票时,一个人可能购一张或多
阅读全文
摘要:竖式问题 题目: 找出所有形如abc*de(三位数乘以两位数)的算式,使得在完整的竖式中,所有数字都属于一个特定的数字集合。输入数字集合(相邻数字之间没有空格),输出所有竖式。每个竖式前应有编号,之后应有一个空行。最后输出解的总数。具体格式见样例输出(为了便于观察,竖式中的空格改用小数点显示,但你的
阅读全文

浙公网安备 33010602011771号