Search found 8 matches

by Angel
Tue Jul 29, 2003 11:39 am
Forum: Volume 7 (700-799)
Topic: 793 - Network Connections
Replies: 102
Views: 32028

plz check it again ...

I consider EOF .... while(gets(A))... wont it break at EOF ????
if not ... then how would I consider it .. ??? :-?
I test my program with freopen ... for the sample out put (without blank line...it means the loop is breaking at the EOF...is it ??? :-? )
by Angel
Tue Jul 29, 2003 12:27 am
Forum: Volume 7 (700-799)
Topic: 793 - Network Connections
Replies: 102
Views: 32028

793 Help [WA] ???????????

what is the input terminating condition ?? I considered it as a blank line.... but Got WA .... Whats wrong here .....plz help me .... here's my code.... #include<stdio.h> #include<string.h> void input(); void search(); int N,i,src,dst,G[100][100],yes,no,flag; char ch,ins,A[6]; void main(void) { scan...
by Angel
Wed Jul 23, 2003 12:33 am
Forum: Volume 4 (400-499)
Topic: 459 - Graph Connectivity
Replies: 132
Views: 25866

this is my code .... I got wa first then after I included a blank line after the number of test case (this is a multiplr input problem right ?) ...I got tle ... I cant find whats wrong ,,what the tricky part here .....plzzzzz help me ... --------------------------------------------------------------...
by Angel
Wed May 21, 2003 7:05 pm
Forum: Volume 100 (10000-10099)
Topic: 10062 - Tell me the frequencies!
Replies: 235
Views: 38476

10062WA : why ???

This is my code ..... i dunno why wrong ans ..... what's wrong here ???? plz help me .... :cry: #include<stdio.h> #include<string.h> char A[1010],B[1010],ch; int intB[1010],intC[1010]; void main(void) { int c,i,j,k,len,f; while(gets(A)) { len=strlen(A); strcpy(B,A); k=0;c=0;f=1;ch=0; for(i=0;i<1010;...
by Angel
Sun Mar 02, 2003 9:12 am
Forum: Volume 104 (10400-10499)
Topic: 10424 - Love Calculator
Replies: 137
Views: 40530

test

test
by Angel
Sun Mar 02, 2003 9:11 am
Forum: Volume 104 (10400-10499)
Topic: 10424 - Love Calculator
Replies: 137
Views: 40530

10424 WA HEEEEEEEELLLPPPPP plzzzzzzzz

I cant find any wrong in this....... :o #include<stdio.h> #include<string.h> void main() { int i,j,sum1=0,sum2=0; double digit1=0.0,digit2=0.0,per; char name1[30],name2[30]; while(gets(name1) && gets(name2)) { for(i=0;i<strlen(name1);i++) { if(name1[i]>='A'&&name1[i]<='Z') sum1+=name1[i]-'A'+1; if(n...
by Angel
Thu Dec 12, 2002 8:31 am
Forum: Volume 1 (100-199)
Topic: 112 - Tree Summing
Replies: 137
Views: 14853

P 112: Why WA? :o

I've considered negetive case...empty tree....but still WA. #include<stdio.h> #include<string.h> char fun1(); signed long int Sum[15000],count=-1,countf=0,flagf=0,countob=1,countcb=0,flagclose=0; void main(void) { freopen("h:\\tc\\testing\\f1.in" , "r",stdin); signed long int sum=0,s=0,s1,input,firs...
by Angel
Wed Nov 20, 2002 4:04 pm
Forum: Volume 4 (400-499)
Topic: 401 - Palindromes
Replies: 196
Views: 33169

401 WA: Help mee...

first debug ......... then run it : see the diffrence.........plz help me....... #include<stdio.h> #include<conio.h> #include<string.h> int palindrome(); int mirror(); char chart(char ch); char A[22],B[22]; char C[14]={'A','H','I','M','O','T','U','V','W','X','Y','1','8'}; char D[10]={'J','L','S','2'...

Go to advanced search