Search found 1 match

by Md Masuqur Rahman
Sat Apr 12, 2003 8:06 pm
Forum: Volume 1 (100-199)
Topic: 119 - Greedy Gift Givers
Replies: 145
Views: 47241

please tell me a solution of 119

#include<stdio.h>
#include<stdlib.h>
#include<string.h>

void main()
{
int i,j,tk,div,k,taka[10][13],lp=0,l,tr[10],t;
char nam[10][14][15],str[20],other[12][12];

for(i=0;i<10;i++)
for(j=0;j<13;j++)
taka [j] = 0;

while(scanf("%d",&i) != EOF)
{
tr[lp] = i;
fflush(stdin);
for(j=0;j<i;j++)
scanf ...

Go to advanced search