Pagini recente » Cod sursa (job #1578759) | Cod sursa (job #1751441) | Cod sursa (job #1812144) | Cod sursa (job #2133152) | Cod sursa (job #18924)
Cod sursa(job #18924)
#include<stdio.h>
#define dim 100
long cont;
long u,n,t,nr,i;
void citire();
void afisare();
int main()
{
freopen("amlei.in","r",stdin);
freopen("amlei.out","w",stdout);
citire();
afisare();
return 0;
}
void citire()
{
while(scanf("%ld%ld%ld",&n,&t,&u) && n)
{
for(i=1;i<=n*t;i++)
scanf("%ld",&nr);
for(i=1;i<=n*u;i++)
scanf("%ld",&nr);
cont++;
n=0;
}
}
void afisare()
{
for(int i=1;i<=cont;i++)
{
if(i%2==0)
printf("DA\n");
else
printf("NU\n");
}
}