I need to get an integer number with 99 digits. This is actually the question which I need to get an integer number with 99 digits to solve: https://quera.org/problemset/9774/
This is my code to solve that question but it should be able to get bigger number:
#include <stdlib.h>
int main(){
long long int n;
scanf("%lld",&n);
long long int x=n;
int i=1;
while(x>=10){
x=x/10;
i++;
}
long long int ar[i];
x=i-1;
while(x>=0){
ar[x]=n%10;
n=n/10;
x--;
}
x=0;
int z=1;
while(x<=i-1){
printf("%d: ",ar[x]);
while(z<=ar[x]){
printf("%d",ar[x]);
z++;
}
z=1;
x++;
printf("\n");
}
return 0;
}