这个程序怎么不能运行
#include<stdio.h>void main()
{
int M(int x[10],int y[10]); /*申明调用的函数M*/
int a[10],b[10],t,i,p,n;
printf("huanying ni shiyong LiQijun mima fuwu xitong !!\n" );
printf("qingshuru ni de mima:\n");
for(i=0;i<10;i++);
scanf("%d",&a[i]); /*对数组a[10] 赋直 即输入的原密码*/
printf("qing queren ni de mima:\n");
for(p=0;p<10;p++);
scanf("%d",&b[p]); /*对数组赋直 即确认的密码*/
t=M(a[10],b[10]);
if(t==1)
{printf("gongxi ni, nide mima yijing shezhi chenggong\n");
printf("qing shuru nide mima jinru xitong:\n");
for(p=0;p<10;p++)scanf("%d",&b[p]);
n=M(a[10],b[10]);
{if(n==1)printf("huanying jinru LiQijun mima fuwu xitong\n ni haocongming o!");
else printf("ni shige hapi mima dou jibuzhu\n");} }
else printf("ni shuru de mima qianhou bu yizhi qing chongxin shenqing mima");
getch();}
int M(int x[10],int y[10]) /*函数M为比较两组密码 完全一样则其直为1 否则为0*/
{
int i,p,m;
for(i=0,p=0;i<10;i++,p++)
{if (x[i]==y[p])m=1;else {m=0;break;} }
return (m);
}