My issue
which testcase is making problem for the correct solution is the problem here
My code
#include<stdio.h>
int main()
{
int p;
scanf("%d",&p);
while(p--)
{
long long int n,m,sum=0,temp=0;
scanf("%lld%lld",&n,&m);
long long int prr[m];
for(long long int i=0;i<m;i++)
{
scanf("%d",&prr[i]);
}
sum=((n*(n+1))/2);
for(long long int i=0;i<m;i++)
{
temp+=prr[i];
}
long long int taco = sum-temp;
printf("%d\n",taco);
}
return 0;
}
Problem Link: REMOVEMUL Problem - CodeChef