摘要: appstore上下载个 一键拨号 就好了,亲测可用未越狱也可以安装 阅读全文
posted @ 2013-05-09 23:21 byfei 阅读(161) 评论(0) 推荐(0) 编辑
摘要: #include <iostream>#include <stdlib.h>#include <time.h>using namespace std;int getMiddleValue(const int *p,int size){int counter[100] = {0};for(int i = 0;i < size;++ i){++ counter[p[i]];}int tempCounter = 0;for(int i = 0;i < 100;++ i){tempCounter += counter[i];int data = size 阅读全文
posted @ 2013-05-09 17:36 byfei 阅读(119) 评论(0) 推荐(0) 编辑
摘要: #include <iostream>#include <stdlib.h>#include <time.h>using namespace std;void main(){srand(time(NULL));double temp[20] = {0};int data;cout<<"10个随机数:\n";for(int i=0;i<10;i++){int a = rand()%9+1;if(temp[a]==0){data = a;}else{for(int j=a+1;j<20;j++){if(temp[j]= 阅读全文
posted @ 2013-05-09 17:10 byfei 阅读(103) 评论(0) 推荐(0) 编辑