用时:0ms
#include
#define MAX 10
//ok~
int main()
{
freopen("2807.txt","r",stdin);
freopen("output.txt","w",stdout);
int n,k,i,j,sum,num;
scanf("%d",&n);
for(i=0;i
{
sum=1;
scanf("%d",&k);
for(j=0;j
{
scanf(" %d",&num);
sum+=num;
}
printf("%d/n",sum-k);
}
return 0;
}