当前位置:首页 » 编程博文
开发技术指南» 文章正文
    引言: Problem:When printing out a docu
 

 

 ·浙大在线评测 1180 self numbers    »显示摘要«
    摘要:problem: in 1949 the indian mathematician d.r. kaprekar discovered a class of numbers called self-numbers. for any positive integer n, define d(n) to be n plus the sum of the digits of n. (the d stand......
 ·.net 访问 oracle 数据库相关     »显示摘要«
    摘要: 长期以来,我一直用的是 ms sql server / access 数据库,通过 .net 访问 ms 自家的东西几乎没碰到过什么麻烦。最近项目中要用 oracle 作为数据库,学习研究了一些 .net 访问 oracle 的东西,发现问题倒真的不少。 1。system.data.oracleclient 和 system.data.oledb 命名空间 虽然通过这两个命名空间的类都可......


浙大在线评测 1178 Booklet Printing

problem:

【程序编程相关:VC实现动画应用两则

【推荐阅读:VC实现对话框上信息的显示

    when printing out a document, normally the first page is printed first, then the second, then the third, and so on until the end. however, when creating a fold-over booklet, the order of printing must be altered. a fold-over booklet has four pages per sheet, with two on the front and two on the back. when you stack all the sheets in order, then fold the booklet in half, the pages appear in the correct order as in a regular book. 【扩展信息:以小博大,小企业如何面对微软提供完整的解

    for example, a 4-page booklet would print on 1 sheet of paper: the front will contain page 4 then page 1, and the back will contain page 2 then page 3.

    front          back

    -------------  -------------

    |     |     |  |     |     |

    |  4  |  1  |  |  2  |  3  |

    |     |     |  |     |     |

    -------------  -------------

    your task is to write a program that takes as input the number of pages to be printed, then generates the printing order.


...   下一页
    摘要:www.8623.com (斑竹cattom)turinger.center-tech.net(斑竹 lucklai)http://prog.cndeal.com(超级会员 fanoble)http://167168.kmip.net(最小的小将w.h)http://vrixpworld.7i24.com(斑竹vrix)http://my.yuther.com(和我一起进vcok的网友yuther......
» 本期热门文章:

©2000-2007 All Rights Reserved. 最佳浏览:1024X768 MSIE