for (int i=1; i<=N; i++)
{
scanf("%d",&T);
tong[abs(T-P)]=1;
P=T;
}
for (int i=1; i<=N; i++)
if (!tong[i])
{
printf("Not jolly");
return 0;
}
by 徐熙凯 @ 2018-05-26 14:51:09