I am get runtime error "SIGCONT" in problem code FLOW004

I solved the question and it run smoothly in vs code but not in codechef IDE

**Code **

#include<iostream>
using namespace std;

int main ()
{   int sum ;
    int n,t;
   
    
    cin>>t;
    while(t--)
    {   int count =0;
       cin>>n;
       int temp =n;
       while (n>0)
       {
           n=n/10;
           count++;
       }

       n=temp;
    //    cout<<n<<endl;
       int store [count];

       for (int i=0;i<count;i++)
       {
           if (n>0)
           {    
               store[i]=n%10;
               n=n/10;
           }else{
               break;
           }
       }
        if(count>1){
     sum =store[0]+store[count-1];
        }else{
            sum =store[0];
        }
      cout<<sum<<endl;
    }


return 0;
      
    }

Initialise variables when you’re declaring them. Also, it looks like you’re trying to Run without providing custom input.