diff --git a/1990/baruch/.gitignore b/1990/baruch/.gitignore index 20e5ca7fd..c31461210 100644 --- a/1990/baruch/.gitignore +++ b/1990/baruch/.gitignore @@ -1 +1,2 @@ baruch +baruch.alt diff --git a/1990/baruch/baruch.alt.c b/1990/baruch/baruch.alt.c new file mode 100644 index 000000000..8b7f770e9 --- /dev/null +++ b/1990/baruch/baruch.alt.c @@ -0,0 +1,6 @@ +int v,i,j,k,l,s,a[99]; +int main(void) +{ + for(scanf("%d",&s);*a-s;v=a[j*=v]-a[i],k=i=s*k&&++a[--i]) + ;puts(""); +}