摘要:
如果一个字母延伸到中线之上,如d或f,则称其有上出头部分。如果一个字母延伸到中线之下,如p或g, 则称其有下出头部分。编写程序,读入一个单词,输出最长的即不包含上出头部分,也不包含下出头部分单 词。 // 9_49.cpp : 定义控制台应用程序的入口点。//#include "stdafx.h"# 阅读全文
posted @ 2016-03-30 18:21 CSU蛋李 阅读(266) 评论(0) 推荐(0)
|
|
|
|
摘要:
如果一个字母延伸到中线之上,如d或f,则称其有上出头部分。如果一个字母延伸到中线之下,如p或g, 则称其有下出头部分。编写程序,读入一个单词,输出最长的即不包含上出头部分,也不包含下出头部分单 词。 // 9_49.cpp : 定义控制台应用程序的入口点。//#include "stdafx.h"# 阅读全文
posted @ 2016-03-30 18:21 CSU蛋李 阅读(266) 评论(0) 推荐(0)
摘要:
Each rectangle is defined by its bottom left corner and top right corner as shown in the figure. Assume that the total area is never beyond the maximu 阅读全文
posted @ 2016-03-30 01:49 CSU蛋李 阅读(131) 评论(0) 推荐(0)
摘要:
Implement the following operations of a stack using queues. push(x) -- Push element x onto stack. pop() -- Removes the element on top of the stack. to 阅读全文
posted @ 2016-03-30 00:43 CSU蛋李 阅读(137) 评论(0) 推荐(0) |
|