#include <stdio.h>
#include <stdlib.h>
#include <time.h>
#include <math.h>
#define MM 7
#define NN 36
typedef int ElemTp;
typedef struct
{
ElemTp elem[MM+1];
int len;
} VoteTp;
typedef struct
{
ElemTp elem[NN+1];
int len;
} SourceTp;
SourceTp source;
InitializeVote(VoteTp *vote);
InitializeSource(SourceTp *source);
void SeqInsertVote(VoteTp *vote,int i,ElemTp x);
int SeqLocate(VoteTp v,ElemTp x);
VoteTp CreateAVote();
int RightNum(VoteTp vote,VoteTp answervote);
main()
{
VoteTp vote;
VoteTp answervote;
int k,i;
randomize();
InitializeSource(&source);
answervote=CreateAVote();
printf("/nPress Any Key to Continue ,0 to exit !");
printf("/n Answer Numbers: ");
for (i=1;i<=MM;i++)
printf("%