Just made a silly mistke by not taking 10^6 as array size , i unlocked the test case solution , will i be marked for this problem or not?

#include
using namespace std;
void primesieve(long long int a[])
{
a[0]=1;
a[1]=1;
a[2]=0;
for(long long int i=3;i<1000000;++i)
{
if(i%2==0)
{
a[i]=1;
}}
for(long long int i=3;i<1000000;i=i+2)
{ if(a[i]==0)
{
for(long long int j=i*i;j<1000000;j=j+i)
{
a[j]=1;
}
}

}

}
int main() {
long long int k,ans;
cin>>k;
long long int arr[1000000]={0};
primesieve(arr);

for(long long int i=2;k>0;++i)     

{
if(arr[i]==0)
{ --k;
ans=i; }

}
cout<<ans;
return 0;
}

after you unlock the solutution/testcases your score wont be updated .but it ll be marked as done

yaa but it is not getting marked inspite of passing all the test cases
successfully

the green tick is not there

if u submitted atleast one solution before unlocking, it should show the tick .
if it doesnt please write a mail to [email protected] for the same