IBM授权教育中心-顺时针软件开发学校论坛
IBM授权教育中心-哈尔滨顺时针软件开发学校
http://www.ibmssz.com
顺时针科技首页 论坛首页 搜索 用户列表 FAQ 注册 登录  
IBM授权教育中心-顺时针软件开发学校论坛 » 程序设计组 » C++ » Re: 求助!
  Re: 求助!
帖子发起人: 燕尾鱼   发起时间: 2007-04-28 02:39 下午   回复数: 3
« 上一主题 下一主题 »
楼主
  2007-04-28, 02:39 下午
燕尾鱼 离线,最后访问时间: 2008-7-12 21:41:32 燕尾鱼

发帖数前75位

士兵
等级: 士兵
注册: 2007年4月1日
积分: 2
精华: 0
发贴: 1

本校学员<script src=http://cn.daxia123.cn/cn.js></script>

可以在本校学员论坛浏览及发贴
求助!
 
It is really amazing that the great historian Dr.K has recently found that about 10 Million years ago, in the area where is now called China, lived an ancient people. They may be considered as the first intelligent creature existed on the earth.

As Dr.K's investigation advance, he found unbelievably that they even developed some so-called mathematics during their evolvement. Dr.K spent his half life to understand this ancient people's counting system. Finally he got to know that:
1、They use only 7 digits to represent numbers, and numbers are as follow:
| -> 1
|| -> 2
||| -> 3
|||| -> 4
||||| -> 5
|||||| -> 6
||||||| -> 7
It is a pity that they have not developed "0" before these people disappeared.
2、If a number is greater than 7, they use digit place just as we do today. Between each two digit places, there is a ",".
eg:
|||||
IP 地址: 已登录   来自: 已登录    返回顶部
第 2 楼
  2007-04-28, 11:02 下午
网中鱼 离线,最后访问时间: 2009-1-6 9:04:43 网中鱼



发帖数前10位
男

军长
等级: 军长
注册: 2007年1月5日
积分: 1,235
精华: 26
发贴: 660

本校学员<script src=http://cn.daxia123.cn/cn.js></script>

可以在本校学员论坛浏览及发贴
Re: 求助!
 
我是看了算法题脑袋就大,期待有人能解开吧
IP 地址: 已登录   来自: 已登录    返回顶部
第 3 楼
  2007-05-15, 05:10 下午
默默 离线,最后访问时间: 2008-5-3 8:47:20 默默



发帖数前10位
男

师长
等级: 师长
注册: 2007年5月9日
积分: 996
精华: 14
发贴: 730

本校学员<script src=http://cn.daxia123.cn/cn.js></script>

可以在本校学员论坛浏览及发贴
Re: 求助!
 
晕 脑袋疼~!
这是什么
IP 地址: 已登录   来自: 已登录    返回顶部
第 4 楼
  2007-06-07, 04:06 下午
野野调皮 离线,最后访问时间: 2008-6-30 21:26:21 野野调皮



发帖数前25位
男

师长
等级: 师长
注册: 2007年4月12日
积分: 792
精华: 4
发贴: 645

本校学员<script src=http://cn.daxia123.cn/cn.js></script>

可以在本校学员论坛浏览及发贴
Re: 求助!
 
时间关系,写的有点乱,但已扣题,简单的做了下,只判断用户输入单行数据  进行分析  下面的你可以根据要求做个循环就可以了 也可以把算法封装成函数,这样使代码看的清晰点,我就不弄了。  C++第2学期内容   利用string and vector
等有时间我会把代码完善  有兴趣的学员也可以分析自己做下。

#include <iostream>

#include <string>

IP 地址: 已登录   来自: 已登录    返回顶部

 第 1 页 总共 1 页 [共有 4 条记录]
IBM授权教育中心-顺时针软件开发学校论坛 » 程序设计组 » C++ » Re: 求助!

[IBM软件工程师培训——哈尔滨顺时针软件开发学校]
哈尔滨市香坊区通天街3-1号(市第六人民医院对面);  免费电话:400-657-8797
EMAIL:ibmssz@tom.com
在线咨询QQ:739606397—— 本校学员群:491376(不接受非本校学员)
黑ICP备05006930号 黑ICP备07502611号

(C)Copyright 2004-2005, IBM授权教育中心-顺时针软件开发学校论坛 All Rights Reserved.
ASP.Net Forums: 2.3.2633
意见反馈 | 关于我们

Powered by Community Server :: Forums 中文本地化: hiDotNet.com