会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
悟
一切明了
上一页
1
2
3
4
5
6
7
···
10
下一页
2014年8月12日
【计算机网络】第04章 网络层
摘要:
阅读全文
posted @ 2014-08-12 16:34 Ji_xiaowu
阅读(107)
评论(0)
推荐(0)
【计算机网络】第03章 数据链路层
摘要:
阅读全文
posted @ 2014-08-12 16:24 Ji_xiaowu
阅读(102)
评论(0)
推荐(0)
【计算机网络】第02章 物理层
摘要:
阅读全文
posted @ 2014-08-12 16:16 Ji_xiaowu
阅读(112)
评论(0)
推荐(0)
【计算机网络】第01章 计算机网络概述
摘要:
阅读全文
posted @ 2014-08-12 16:08 Ji_xiaowu
阅读(132)
评论(0)
推荐(0)
63.取一个整数a从右端开始的4~7位。
摘要: //输入一个数据后用“/”和“%”分离#includeusing namespace std;int main(){ int temp1,temp2; double n; begin: cout>n; if(n<1000000) { cout<<"w...
阅读全文
posted @ 2014-08-12 14:18 Ji_xiaowu
阅读(401)
评论(0)
推荐(0)
62.编程求所有的三位素数,且要求该数是对称数
摘要: //1、写一个函数判断一个数是否为素数//2、判断该数是否是对称数#include #include using namespace std;bool isPrime(int i){ for(int a=2; a<=sqrt(i); a++) { if(i%a==0) ...
阅读全文
posted @ 2014-08-12 14:17 Ji_xiaowu
阅读(583)
评论(0)
推荐(0)
2014年8月11日
61.从键盘输入10个正数存入数组x中,然后输入要查找的整数a,如找到则输出a及a的下标,如找不到,则把a存入到数组的最后。
摘要: #includeusing namespace std;int main(){ int a[11]; int x; cout>a[i]; } cout>x; for(int j=0;j<10;j++) { if(a[j]==x) ...
阅读全文
posted @ 2014-08-11 19:57 Ji_xiaowu
阅读(2696)
评论(0)
推荐(0)
60.编程统计数组a中正数、0、负数的个数
摘要: #includeusing namespace std;int main(){ int x=0,y=0,z=0; int a[10]; cout>a[i]; } for(int j=0;j0) { y++; } }...
阅读全文
posted @ 2014-08-11 19:56 Ji_xiaowu
阅读(758)
评论(0)
推荐(0)
59.已知xxz+yzz=532,求所有可能的x,y,z的值
摘要: #includeusing namespace std;int main(){ for(int x=0;x<10;x++) { for(int y=0;y<10;y++) { for(int z=0;z<10;z++) ...
阅读全文
posted @ 2014-08-11 19:55 Ji_xiaowu
阅读(909)
评论(0)
推荐(0)
58.有一个已经排好序的数组。现输入一个数,要求按原来的规律将它插入数组中
摘要: #includeusing namespace std;int main(){ int n,k; int temp; int a[11]={1,4,6,9,11,13,35,44,46,50}; cout>n; for(int i=0;ik+1;j--) { ...
阅读全文
posted @ 2014-08-11 17:18 Ji_xiaowu
阅读(609)
评论(0)
推荐(0)
上一页
1
2
3
4
5
6
7
···
10
下一页
公告
导航
博客园
首页
新随笔
联系
订阅
管理