摘要: #include char num[1000100];int main(){ long int i; int n,temp,t; scanf("%d",&n); while(n--) { scanf("%s",num); t=strlen(n... 阅读全文
posted @ 2014-10-15 20:56 NYNU_ACM 阅读(148) 评论(0) 推荐(0) 编辑
摘要: 用选择法法对数组中的10个整数按由小到大排序。#include using namespace std;int main(){ void select_sort(int arrary[],int n); //函数声明 int a[10],i; cout>a... 阅读全文
posted @ 2014-10-15 11:05 NYNU_ACM 阅读(544) 评论(0) 推荐(0) 编辑