虫虫首页| 资源下载| 资源专辑| 精品软件
登录| 注册

5.<b>7</b>

  • 题目:利用条件运算符的嵌套来完成此题:学习成绩>=90分的同学用A表示

    题目:利用条件运算符的嵌套来完成此题:学习成绩>=90分的同学用A表示,60-89分之间的用B表示,60分以下的用C表示。 1.程序分析:(a>b)?a:b这是条件运算符的基本例子。

    标签: gt 90 运算符 嵌套

    上传时间: 2015-01-08

    上传用户:lifangyuan12

  • M个人排成一排

    M个人排成一排,一次报数,报到N的人出列。剩下的人继续报数,并以出列的人的编号作为新的N值,知道所有的人都依次出列。给出每一轮出列的人和剩下的队列信息。 人数:10 出列数:3 1 2 3 4 5 6 7 8 9 10 3/4 5 6 7 8 9 10 1 2 9/10 1 2 4 5 6 7 8

    标签:

    上传时间: 2015-02-15

    上传用户:sunjet

  • 仿真步骤如下: 1、把3个帖子的内容分别保存为51t9py.c,51t9py_indexa.h,5py_mb.h

    仿真步骤如下: 1、把3个帖子的内容分别保存为51t9py.c,51t9py_indexa.h,5py_mb.h,放在同一目录下,将51t9py.c加入工程编译 2、由于Keil的模拟串口是单字节显示,汉字显示为乱码,所以要加挂RICHWIN或RichView这种会重新刷新显示的中文平台,或手工刷新屏幕,所以请先到 http://www.pchome.net/dl/chinese.htm 下载RichView,安装运行 3、在Keil环境下可以直接按“Ctrl+F5”键仿真,按“F5”全速运行,切换到在串口依次输入: // 64*.6 426***.5 98*.7 936.3 586.1 4826*.1 9464*.7 64*.6试试:-) 4、按键对应(根据我自己的手机设置的,全部在PC的小键盘操作):

    标签: py_indexa py_mb 51 py

    上传时间: 2013-12-15

    上传用户:sk5201314

  • RSA算法 :首先, 找出三个数, p, q, r, 其中 p, q 是两个相异的质数, r 是与 (p-1)(q-1) 互质的数...... p, q, r 这三个数便是 person_key

    RSA算法 :首先, 找出三个数, p, q, r, 其中 p, q 是两个相异的质数, r 是与 (p-1)(q-1) 互质的数...... p, q, r 这三个数便是 person_key,接著, 找出 m, 使得 r^m == 1 mod (p-1)(q-1)..... 这个 m 一定存在, 因为 r 与 (p-1)(q-1) 互质, 用辗转相除法就可以得到了..... 再来, 计算 n = pq....... m, n 这两个数便是 public_key ,编码过程是, 若资料为 a, 将其看成是一个大整数, 假设 a < n.... 如果 a >= n 的话, 就将 a 表成 s 进位 (s

    标签: person_key RSA 算法

    上传时间: 2013-12-14

    上传用户:zhuyibin

  • 打开一个bmp影像

    打开一个bmp影像,然后对图形进行3*3,5*5,7*7,9*9四种模板的滤波处理。

    标签: bmp

    上传时间: 2013-11-29

    上传用户:啊飒飒大师的

  • 为Delphi2005做了改动 DSPack 2.3.3 (Sep 2004). DSPack is a set of Components and class to write Multimedia

    为Delphi2005做了改动 DSPack 2.3.3 (Sep 2004). DSPack is a set of Components and class to write Multimedia Applications using MS Direct Show and DirectX technologies. DSPack is designed to work with DirectX 9 on Win9X, ME, 2000, and Windows XP operating systems. Now VMR (Video Mixing Renderer) is available on all Windows Operating Systems. DSPack 2 is designed to work with Delphi 5,6,7 and CPP Builder 6.

    标签: DSPack Components Multimedia Delphi

    上传时间: 2014-01-22

    上传用户:hzy5825468

  • 802.11a 的仿真模型

    802.11a 的仿真模型,适合Matlab6.5和7.0的版本

    标签: 802.11 仿真模型

    上传时间: 2013-12-19

    上传用户:lgnf

  • 您想您的应用程序具有MacOS

    您想您的应用程序具有MacOS,WinXP或者更多专业的UI设计的界面风格和外观吗?现在您可以实现这一切,并且不用写一行代码! > >SUIPack是一款为Delphi和C++Builder开发的所见即所得的界面增强VCL组件,它可以帮助您创建具有专业的界面外观 设计的应用程序,大大节省您的时间和开发成本。 > >这些界面风格和外观大部分出自我们的UI设计师的精心设计。 > >请注意,我们提供的不仅仅是界面实现控件,更包含专业的界面方案设计! > >SUIPack兼容:Delphi 2005, Delphi 5/6/7, C++Builder 5/6. >使用SUIPack的程序,可以运行在:Win95及其以上所有版本Windows平台. qq:313433524

    标签: MacOS 应用程序

    上传时间: 2015-04-20

    上传用户:wkchong

  • 人工智能上机实验题目:自动求解八数码难题。 八数码难题:在3×3的方格棋盘上

    人工智能上机实验题目:自动求解八数码难题。 八数码难题:在3×3的方格棋盘上,分别放置了标有数字1,2,3,4,5,6,7,8的八张牌,初始状态S0,目标状态如下图所示,可以使用的操作有:空格左移,空格上移,空格右移,空格下移。

    标签: 数码 人工智能 上机实验 自动

    上传时间: 2013-12-24

    上传用户:redmoons

  • The government of a small but important country has decided that the alphabet needs to be streamline

    The government of a small but important country has decided that the alphabet needs to be streamlined and reordered. Uppercase letters will be eliminated. They will issue a royal decree in the form of a String of B and A characters. The first character in the decree specifies whether a must come ( B )Before b in the new alphabet or ( A )After b . The second character determines the relative placement of b and c , etc. So, for example, "BAA" means that a must come Before b , b must come After c , and c must come After d . Any letters beyond these requirements are to be excluded, so if the decree specifies k comparisons then the new alphabet will contain the first k+1 lowercase letters of the current alphabet. Create a class Alphabet that contains the method choices that takes the decree as input and returns the number of possible new alphabets that conform to the decree. If more than 1,000,000,000 are possible, return -1. Definition

    标签: government streamline important alphabet

    上传时间: 2015-06-09

    上传用户:weixiao99