#1 Grommi
#include <stdio.h>
#define delkaSignal 4
#define delkaJadro 3
int main()
{
int poleSignal[delkaSignal+delkaJadro]={0,1,7,4,0};
int poleJadro[delkaJadro]={1,2,1};
int poleVysl[delkaSignal]={0};
for (short j=0;j<delkaSignal;j++)
{
for (short i=0;i<delkaJadro;i++)
{
poleVysl[j]+=poleSignal[i+j]*poleJadro[i];
}
printf("%d, ",poleVysl[j]);
}
return 0;
}