摘要: 因式分解# include # include # include # include # include # include # include # include using namespace std;int a[100000010];int b[100000010];void run(){ int t, num, q, n; scanf("%d", &n); t = sqrt(n); num = 0; for(int i = 2; i = 1; i--) { num++; a[num] = n/a[i]; } ... 阅读全文
posted @ 2013-10-22 20:54 GLSilence 阅读(232) 评论(0) 推荐(0) 编辑
摘要: struct node{ char data[100];} s[100010];bool cmp(const node &x, const node &y){ if(strcmp(x.data, y.data) < 0) return true; return false;}sort(s, s+n, cmp); 阅读全文
posted @ 2013-10-22 20:01 GLSilence 阅读(330) 评论(0) 推荐(0) 编辑