摘要: 问题描述: 我在写一个网页table时,table宽度超过了我预想的宽度,我想把它设置小一点,但总是没效果。改到怀疑人生!代码如下: 经过多次调试后发现一个问题,table可以改变大小,但是会有一个最小值,低于最小值时,数值修改会无效,table大小始终是最小值。后灵机一动,把问题锁定在input标 阅读全文
posted @ 2017-07-22 18:25 白常福 阅读(1892) 评论(0) 推荐(0) 编辑
摘要: This time, you are supposed to find A+B where A and B are two polynomials. Input Each input file contains one test case. Each case occupies 2 lines, a 阅读全文
posted @ 2017-07-14 07:42 白常福 阅读(3564) 评论(0) 推荐(0) 编辑
摘要: Calculate a + b and output the sum in standard format -- that is, the digits must be separated into groups of three by commas (unless there are less t 阅读全文
posted @ 2017-07-13 09:15 白常福 阅读(141) 评论(0) 推荐(0) 编辑
摘要: 输入样例: 输出样例: 阅读全文
posted @ 2017-07-12 07:54 白常福 阅读(415) 评论(0) 推荐(0) 编辑
摘要: Shuffling is a procedure used to randomize a deck of playing cards. Because standard shuffling techniques are seen as weak, and in order to avoid "ins 阅读全文
posted @ 2017-07-12 07:50 白常福 阅读(561) 评论(0) 推荐(0) 编辑
摘要: Notice that the number 123456789 is a 9-digit number consisting exactly the numbers from 1 to 9, with no duplication. Double it we will obtain 2469135 阅读全文
posted @ 2017-07-10 19:36 白常福 阅读(596) 评论(0) 推荐(0) 编辑
摘要: 参考以下资料:维基百科:https://zh.wikipedia.org/wiki/%E5%85%B3%E8%81%94%E8%A7%84%E5%88%99%E5%AD%A6%E4%B9%A0 简书:http://www.jianshu.com/p/7d459ace31ab http://www.3 阅读全文
posted @ 2017-07-07 22:18 白常福 阅读(209) 评论(0) 推荐(0) 编辑
摘要: 输入样例: 输出样例: 阅读全文
posted @ 2017-07-07 10:04 白常福 阅读(288) 评论(0) 推荐(0) 编辑
摘要: 本题要求你写个程序把给定的符号打印成沙漏的形状。例如给定17个“*”,要求按下列格式打印 所谓“沙漏形状”,是指每行输出奇数个符号;各行符号中心对齐;相邻两行符号数差2;符号数先从大到小顺序递减到1,再从小到大顺序递增;首尾符号数相等。 给定任意N个符号,不一定能正好组成一个沙漏。要求打印出的沙漏能 阅读全文
posted @ 2017-07-07 10:00 白常福 阅读(418) 评论(2) 推荐(0) 编辑
摘要: http://blog.csdn.net/hongjinlongno1/article/details/53130893 包含几乎所有包,很方便 阅读全文
posted @ 2017-06-29 17:56 白常福 阅读(890) 评论(0) 推荐(0) 编辑