https://www.codechef.com/problems/CHEFEZQ

This is the link for the question,

I am new here

using namespace std;

int main()

{

long long int t, n, k;

cin >> t;

```
while (t--)
{
cin >> n >> k;
long long int* arr = new long long int[n];
for (long long int i = 0; i < n; i++)
cin >> arr[i];
long long int days = 0;
long long int sum = 0;
for (long long int i = 0; i < n; i++)
{
sum += arr[i];
}
cout << (sum / k) + 1 << endl;
}
return 0;
```

}

This is my code, it was working fine with my compiler (Visual Studio)

But here it is showing wrong answer

I was unable to upload the image but it shows that subtask 1 has the wrong answer