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

please have a look at this code. I am getting correct output in custom input as given in example input line of problem. But my code cant be submitted , its showing wrong answer. I want to know what i did wrong. So please help. Copy this code and run in your submission.


#include
using namespace std;

int main() {
// your code goes here
ios_base::sync_with_stdio(false);
cout.tie(NULL);
cin.tie(NULL);
int t;
cin>>t;
while(t–)
{
int n;
cin>>n;
long long int a,s=1,count=0;
while(n–)
{
cin>>a;
s=sa;
}
for(long long int i=1;i<=s;i++)
{
if(s%i==0)
count++;
}
cout<<count<<endl;
/
code */

}
return 0;

}