Help me in solving REMOVEMUL problem

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

@sharma1034 your code is not working for below testcase:
image
1
143448997 8
109791250 97218421 38804391 109413654 64481101 106082132 29864387 118187639

your output expected output
-2137898272 10288806768034528
you need to check the datatype.