上一页 1 ··· 150 151 152 153 154 155 156 157 158 ··· 207 下一页

2011年8月1日

ABCDE*4=EDCBA

摘要: 一个5位数字ABCDE*4=EDCBA ,这5个数字不重复,输出这样的数字#include<iostream>#include<stack>#include<algorithm>#include<cmath>using namespace std;int reverse(int i){int resualt=0;stack<int> mys;for(int j=4;j>=0;j--){mys.push((i/(int)pow(10,j)));i=i%((int)pow(10,j));}for( j=4;j>=0;j--){ 阅读全文

posted @ 2011-08-01 14:19 原来... 阅读(4930) 评论(1) 推荐(0) 编辑

上一页 1 ··· 150 151 152 153 154 155 156 157 158 ··· 207 下一页

导航