Search found 9 matches

by Munni
Mon Jan 09, 2006 7:04 pm
Forum: Volume 100 (10000-10099)
Topic: 10041 - Vito's Family
Replies: 90
Views: 29366

10041 WA

i cant fix the prblm of my code.Probably i dont understand the algo.plz hlp me nd give some examples so tht i can understnd the alogo... [color=green][/color] #include<stdio.h> #include<iostream.h> #include<stdlib.h> int compare( const void *a, const void *b) { return( *(int *)a-*(int*)b); } int fin...
by Munni
Sat Jan 07, 2006 7:16 pm
Forum: Volume 100 (10000-10099)
Topic: 10070 - Leap Year or Not Leap Year and ...
Replies: 233
Views: 52698

Many many thnks to u.There was another prblmin my code.At last fix it nd got AC.Thnks again.
by Munni
Sat Jan 07, 2006 4:08 pm
Forum: Volume 100 (10000-10099)
Topic: 10070 - Leap Year or Not Leap Year and ...
Replies: 233
Views: 52698

10070 WA

Can anuone give me some critical I/O. I can't fix the bug o my code.plz help me. /*My code */ #include<stdio.h> #include<iostream.h> #include<string.h> #include<math.h> int checkleap(char year[]) { int len,check1=0,check2=0,i,j; long int sum1=0,sum2=0; len=strlen(year); if(year[len-2]=='0'&&year[len...
by Munni
Thu Jan 05, 2006 7:49 pm
Forum: Volume 3 (300-399)
Topic: 392 - Polynomial Showdown
Replies: 93
Views: 17634

hi, solver.Thnx for giving te solution.But i m still in danger with this code.Now this is giving WA.plz hlp.......
by Munni
Wed Jan 04, 2006 3:31 am
Forum: Volume 7 (700-799)
Topic: 739 - Soundex Indexing
Replies: 39
Views: 13592

Thnks .I hv fix my problem nd got AC.
by Munni
Tue Jan 03, 2006 10:08 pm
Forum: Volume 7 (700-799)
Topic: 739 - Soundex Indexing
Replies: 39
Views: 13592

739 PE

Dear solver, i hv changed my code , but still it is PE.Will u plz explain whr the prblm is.
by Munni
Tue Jan 03, 2006 8:59 pm
Forum: Volume 7 (700-799)
Topic: 739 - Soundex Indexing
Replies: 39
Views: 13592

739 PE plz hlp me

I hv solved the CE, but still it is giving PE.I can't understand where the prblm is.Plz hlp me. /*My code*/ #include<stdio.h> #include<iostream.h> #include<string.h> char compare(char ch) { if((ch=='B')||(ch=='P')||(ch=='F')||(ch=='V')) return '1'; if((ch=='C')||(ch=='S')||(ch=='K')||(ch=='G')||(ch=...
by Munni
Tue Jan 03, 2006 5:27 pm
Forum: Volume 3 (300-399)
Topic: 392 - Polynomial Showdown
Replies: 93
Views: 17634

392 CE plz hlp me

Hi, ACM prblm solver, plzhlp me by solving my error .I hv tested for all possible i/o. /*Here is my code*/ #include<stdio.h> #include<iostream.h> #include<string.h> int main(void) { int i=0,a,m; int arr[10]; float num; char str[100]="0",tmp[5]; while(cin>>a) { arr =a; if(i==8) { for(int j=0,k=0;j<=...
by Munni
Tue Jan 03, 2006 5:20 pm
Forum: Volume 7 (700-799)
Topic: 739 - Soundex Indexing
Replies: 39
Views: 13592

739 CE plz hlp..............

I hv tested all possble cases , but it is always giving compile error.plz hlp me. /*Here is my code*/ #include<stdio.h> #include<iostream.h> #include<string.h> char compare(char ch) { if((ch=='B')||(ch=='P')||(ch=='F')||(ch=='V')) return '1'; if((ch=='C')||(ch=='S')||(ch=='K')||(ch=='G')||(ch=='J')...

Go to advanced search