Search found 43 matches

by bishop
Tue Jun 19, 2007 7:03 am
Forum: Volume 4 (400-499)
Topic: 412 - Pi
Replies: 104
Views: 18061

output input all right 412 WA

what wrong i this code
plz help abt WA

Code: Select all

code Remove d

by bishop
Mon Jun 11, 2007 8:19 pm
Forum: Volume 102 (10200-10299)
Topic: 10235 - Simply Emirp
Replies: 150
Views: 31502

only if reverse number is prime
result is not prime
i got it

thanx
a lot
by bishop
Mon Jun 11, 2007 12:51 pm
Forum: Volume 102 (10200-10299)
Topic: 10235 - Simply Emirp
Replies: 150
Views: 31502

i tried but

WA
if anyone check why
this is
WA
by bishop
Sun Jun 10, 2007 11:38 pm
Forum: Volume 112 (11200-11299)
Topic: 11219 - How old are you?
Replies: 117
Views: 33858

at last
accepted
the ACM 11219

thanx jan_holmes
for giving input
and output

which help me :P
by bishop
Sun Jun 10, 2007 11:15 pm
Forum: Volume 112 (11200-11299)
Topic: 11219 - How old are you?
Replies: 117
Views: 33858

my code could not give any ans
for same date
but now it gives

Code: Select all


still WA
by bishop
Sun Jun 10, 2007 10:57 pm
Forum: Volume 112 (11200-11299)
Topic: 11219 - How old are you?
Replies: 117
Views: 33858

yaa that was fault
if(m1>=m2)
printf("0\n");
else
printf("Invalid birth date\n
still WA
by bishop
Sun Jun 10, 2007 10:44 pm
Forum: Volume 112 (11200-11299)
Topic: 11219 - How old are you?
Replies: 117
Views: 33858

it
is checked

Code: Select all



what should i do wit it
by bishop
Sun Jun 10, 2007 10:21 pm
Forum: Volume 112 (11200-11299)
Topic: 11219 - How old are you?
Replies: 117
Views: 33858

but still WA

ur input
is correct for
this code

Code: Select all


by bishop
Sun Jun 10, 2007 9:09 pm
Forum: Volume 112 (11200-11299)
Topic: 11219 - How old are you?
Replies: 117
Views: 33858

what abt this 11219

i cannot find any solution

why that is WA
i checked all the input
all right

Code: Select all



by bishop
Fri Jun 08, 2007 9:41 am
Forum: Volume 4 (400-499)
Topic: 492 - Pig-Latin
Replies: 213
Views: 25867

492 why WA

i search but i can not found any solution #include<stdio.h> #include<string.h> #include<ctype.h> #define isalphabet(c) ((c>='a' && c<='z') || (c>='A' && c<='Z')) #define vowel(n) (n=='a' || n=='e' || n=='i' || n=='o' || n=='u' || n=='A' || n=='E' || n=='I' || n=='O' || n=='U') int main() { char str[...
by bishop
Thu May 24, 2007 6:29 pm
Forum: Volume 5 (500-599)
Topic: 543 - Goldbach's Conjecture
Replies: 109
Views: 24219

yaa

sorry for wrong inf

but i got "accepted"
by checking your output

:D

Thank you..............................
by bishop
Wed May 23, 2007 10:03 am
Forum: Volume 5 (500-599)
Topic: 543 - Goldbach's Conjecture
Replies: 109
Views: 24219

543 golbach's conjecture RE

Code: Select all

plz help 
&& let me know this runtime error

X code deleted
by bishop
Wed May 23, 2007 9:57 am
Forum: Volume 4 (400-499)
Topic: 406 - Prime Cuts
Replies: 187
Views: 22709

406 what's the prob with WA

#include<stdio.h> #include<math.h> #define size 1004 #define true 1 #define false 0 int main() { int a,b[size],m=0,i,j,k=0,t,p[size],prime[size]; int s; p[0]=false; p[1]=true; for(i=2; i<=size; i++) p[i]=true; s=sqrt(size); for(i=2; i<=s; i++) { if(p[i]==true) for(j=i+i; j<=size; j=j+i) p[j]=false;...

Go to advanced search