上一页 1 2 3 4 5 6 7 ··· 10 下一页

2014年8月12日

摘要: 阅读全文
posted @ 2014-08-12 16:34 Ji_xiaowu 阅读(107) 评论(0) 推荐(0)
摘要: 阅读全文
posted @ 2014-08-12 16:24 Ji_xiaowu 阅读(102) 评论(0) 推荐(0)
摘要: 阅读全文
posted @ 2014-08-12 16:16 Ji_xiaowu 阅读(112) 评论(0) 推荐(0)
摘要: 阅读全文
posted @ 2014-08-12 16:08 Ji_xiaowu 阅读(132) 评论(0) 推荐(0)
摘要: //输入一个数据后用“/”和“%”分离#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)
摘要: //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日

摘要: #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)
摘要: #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)
摘要: #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)
摘要: #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 下一页

导航