Peck Chen

  博客园  :: 首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理

2010年11月16日

摘要: 簡單題/*Problem DescriptionA boy named Pirates who wants to develop typing software finds that it’s hard to judge whether a letter is lowercase or uppercase. He searches lots of information about i... 阅读全文
posted @ 2010-11-16 17:48 PeckChen 阅读(244) 评论(0) 推荐(0) 编辑

摘要: 超水题...代码/*We divide the HZNU Campus into N*M grids. As you can see from the picture below, the green grids represent the buidings. Given the size of the HZNU Campus, and the color of each grid, you sh... 阅读全文
posted @ 2010-11-16 16:46 PeckChen 阅读(474) 评论(0) 推荐(0) 编辑

摘要: /******************************************************************************* 建立魔方阵魔方阵中各个数的排列规律所示:(1)将1放在第一行中间的一列(2)从2开始直到n*n为止,各数依次按照下列规则存放:每一个数字存放的行比前一个的行数减一, 列数加一;(3)如果上一个数的行数为1, 则下一个数的行数为n(即最下一... 阅读全文
posted @ 2010-11-16 13:51 PeckChen 阅读(327) 评论(0) 推荐(0) 编辑

摘要: 代码 阅读全文
posted @ 2010-11-16 09:51 PeckChen 阅读(3202) 评论(0) 推荐(0) 编辑