![](https://img-blog.csdnimg.cn/20200414010651785.jpg?x-oss-process=image/resize,m_fixed,h_224,w_224)
ICPC-输入输出流
文章平均质量分 78
有关输入输出流的题解
海岛Blog
专注于程序设计及其竞赛,专注于集成电路EDA设计
展开
-
UVA10176 Ocean Deep! - Make it shallow!!【输入流+模除】
Ocean deep I’m so afraid to show my feelings, I have sailed a million ceilings In my solitary roomOcean deep The lines above are from a very popular song of Cl原创 2021-03-07 00:55:53 · 412 阅读 · 0 评论 -
UVA320 LA5614 POJ1132 ZOJ1300 Border【输出】
BorderTime Limit: 1000MS Memory Limit: 10000KTotal Submissions: 4123 Accepted: 1980DescriptionYou are to write a program that draws a border around a closed path into a bitmap, as displayed in t...原创 2019-08-09 16:56:00 · 327 阅读 · 0 评论 -
UVA159 HDU1462 Word Crosses【输出】
A word cross is formed by printing a pair of words, the first horizontally and the second vertically, so that they share a common letter. A leading word cross is one where the common letter is as near...原创 2019-08-08 09:59:55 · 1143 阅读 · 0 评论 -
ZOJ1151 Word Reversal【堆栈+字符流+字符串流】
Word ReversalTime Limit: 2 Seconds Memory Limit: 65536 KBFor each list of words, output a line with each word reversed without changing the order of the words.This problem contains multiple te...原创 2019-01-14 23:01:53 · 988 阅读 · 1 评论 -
UVA12416 Excessive Space Remover【对数+字符流】
How do you remove consecutive spaces in a simple editor like notepad in Microsoft Windows? One way is to repeatedly “replace all” two consecutive spaces with one space (we call it an action). In this ...原创 2019-07-26 07:45:02 · 337 阅读 · 0 评论 -
UVA1200 LA2972 POJ2295 ZOJ2492 A DP Problem【输入】
In this problem, you are to solve a very easy linear equation with only one variable x with no parentheses! An example of such equations is like the following:2x − 4 + 5x + 300 = 98x &nbs...原创 2019-08-09 17:36:01 · 421 阅读 · 0 评论 -
UVA486 English-Number Translator【递归+映射】
In this problem, you will be given one or more integers in English. Your task is to translate these numbers into their integer representation. The numbers can range from negative 999,999,999 to positi...原创 2018-06-24 11:27:06 · 1008 阅读 · 0 评论 -
POJ2246 HDU1082 ZOJ1094 UVA442 Matrix Chain Multiplication【模拟】
Matrix Chain MultiplicationTime Limit:1000MS Memory Limit:65536K Total Submissions:2607 Accepted:1585 DescriptionSuppose you have to evaluate an expression like A*B*C*D*...原创 2018-04-05 22:00:44 · 531 阅读 · 0 评论 -
POJ1539 UVA327 UVALive5435 Evaluating Simple C Expressions【文本】
Evaluating Simple C ExpressionsTime Limit: 1000MS Memory Limit: 10000KTotal Submissions: 651 Accepted: 273DescriptionThe task in this problem is to evaluate a sequence of simple C expressions, b...原创 2019-02-28 11:09:36 · 297 阅读 · 0 评论 -
UVA397 LA5314 POJ1559 ZOJ1725 Equation Elation【表达式求值】
The author of an elementary school algebra text book has approached you to write a program to solve simple algebra equations. The author wants to use a program to avoid human errors in preparing the s...原创 2019-08-09 09:30:57 · 373 阅读 · 0 评论 -
UVA391 LA5308 HDU1602 ZOJ1336 Mark-up【输入】
Mark-up languages are computer languages that assist in the formatting of text files. Special keywords are used to mark the text to allow control of fonts, page styles, paragraph styles, etc. TEX, tro...原创 2019-08-08 23:12:08 · 306 阅读 · 0 评论 -
UVA271 LA5380 HDU1433 POJ1126 Simply Syntax【输入】
In the land of Hedonia the official language is Hedonian. A Hedonian professor had noticed that many of her students still did not master the syntax of Hedonian well. Tired of correcting the many synt...原创 2019-08-08 10:44:35 · 378 阅读 · 0 评论