C/C++语言 从33个数中选6个排列组合 具体答案

[复制链接]
查看11 | 回复1 | 2011-12-31 21:53:52 | 显示全部楼层 |阅读模式
// xx.cpp : 定义控制台应用程序的入口点。//#include "stdafx.h"#include#include#includevoid main(){int i,n,c,j;int a[6];//记录数组下标int b[33];//存所要随机的33个数for(i=0;i#include int main(){int in[33];int out[6];int i=0;int j=0;for ( i=0;i<33;i++){in=i+1;}srand(...
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

主题

0

回帖

4882万

积分

论坛元老

Rank: 8Rank: 8

积分
48824836
热门排行