Search found 1 match

by jpeanut
Wed May 16, 2007 12:29 pm
Forum: Volume 101 (10100-10199)
Topic: 10158 - War
Replies: 23
Views: 13731

I passed all the test code

BUT Still Wa could someone tell me where is wrong

#include <stdio.h>

int main(){
int f[10000];
int kind,b,c;
int people=0;
int count=1;


scanf("%d",&people);
for(int i=0;i<people;i++)f[i]=0;
scanf("%d %d %d",&kind,&b,&c);

while ((kind!=0)||(b!=0)||(c!=0)){

if ...

Go to advanced search