Search found 2 matches

by ruba
Sat Nov 11, 2006 9:12 am
Forum: Volume 100 (10000-10099)
Topic: 10070 - Leap Year or Not Leap Year and ...
Replies: 233
Views: 84021

10070 & 10038 got WA!!!

Hi,
could anyone give me some critical INPUT for 10070 & 10038?
cos i could'nt figure out what's going wrong with my code!!

:roll:
by ruba
Mon Nov 06, 2006 1:08 pm
Forum: Volume 4 (400-499)
Topic: 458 - The Decoder
Replies: 71
Views: 27403

494-why output limit exeeded?& 458-Time limit execeeded?

Hi,
this is my mail. Anyone plzzzz help me!


code for 494 :
#include<stdio.h>
#include<ctype.h>
void main()
{
int word,i;
char str[10000];
while(1)
{
word=0;
gets(str);
if(str[0]!='\0')
{
if(isalpha(str[0]))
word++;
for(i=0;str !='\0';i++)
{
if(str ==' '||str =='\t')
if(isalpha ...

Go to advanced search