My issue
My code
#include <stdio.h>
int main() {
int x,c=0;
scanf("%d",&x);
for(int i=0;i<x;i++){
if(x%i==0){
c++;
}
}printf("%d ",c);
for(int i=0;i<x;i++){
if(x%i==0){
printf("%d ",i);
}
}
return 0;
}
Problem Link: CodeChef: Practical coding for everyone