#include <stdio.h>
#define max 5001

int q[max];
int f=1;
int b=1;
int push(int v)
{
    q[++f]=v;
}
int pop(int m)
{
    return q[++b];
}
int main() {
    int a,b,z;
    scanf("%d %d",&a,&b);
    for(int i=a;i>0;i--)
    {
        z=b/i;
        printf("%d ",z);
    }
}

Embed on website

To embed this project on your website, copy the following code and paste it into your website's HTML: