摘要:
1.找出一个数组中满足2^N的元素#include using namespace std;int find(int a[],int len);void main(){ int a[]={1,2,3,5,7,8,16}; int len=sizeof(a)/sizeof(int); coutusing namespace std;void Joseph(int n, int m, int s);int main(){ Joseph(9,3,1); return 0;}void Joseph(int n, int m, int s){ int i,j,w; ... 阅读全文