Search found 3 matches

by balkrishna
Fri Dec 14, 2007 2:36 pm
Forum: Volume 100 (10000-10099)
Topic: 10050 - Hartals
Replies: 59
Views: 19941

hartals wa

accepted
by balkrishna
Wed Jun 06, 2007 5:58 pm
Forum: Volume 100 (10000-10099)
Topic: 10035 - Primary Arithmetic
Replies: 328
Views: 61398

still wa

thanks for your suggestion of inputs. they still give the appropriate outputs but judges verdict is still wa.... this code too is not accepted. #include<stdio.h> #include<string.h> #define MAXDIGITS 20 int check(char a[],char b[]) { if(strcmp(a,"0")==0 && strcmp(b,"0")==0) return 0; else return 1; }...
by balkrishna
Wed Jun 06, 2007 7:16 am
Forum: Volume 100 (10000-10099)
Topic: 10035 - Primary Arithmetic
Replies: 328
Views: 61398

wa with this code .. please help

getting wrong answer with this code #include<stdio.h> #include<string.h> #define MAXDIGITS 20 int check(char a[],char b[]) { if(a[0]=='0' && b[0]=='0') return 0; else return 1; } char *adjuststr(char a[],char b[],int m,int n) { int i; int dif; if(m>n){ dif=m-n; for(i=m;i>dif;i--) { b[i-1]=b[i-dif-1]...

Go to advanced search