## Search found 23 matches

Sun Mar 25, 2007 3:38 pm
Forum: Volume 6 (600-699)
Topic: 623 - 500!
Replies: 187
Views: 43182
I unable to understand Why I am getting WA?
Can Any genious programmer help me telling what's the cause?

code removed after AC
thanks
Sat Mar 24, 2007 12:35 pm
Forum: Volume 2 (200-299)
Topic: 264 - Count on Cantor
Replies: 47
Views: 13440
Thanks helloneo
Now I have got Accepted.
But,my algorithm is very poor.
so,Can you help me giving this formula?
Thu Mar 22, 2007 10:06 am
Forum: Volume 2 (200-299)
Topic: 264 - Count on Cantor
Replies: 47
Views: 13440
Why I am gettiong PE? I have taken input & print output as while(scanf("%ld",&term) == 1) { after calcultaing result printf("TERM %ld IS %ld / %ld\n",term,a,b); } My program take 7.258 sec to solve this problem. But I have seen some people solve it 0.000 sec. Can Anybody tell me What's the algorith...
Mon Mar 19, 2007 12:59 pm
Forum: Volume 6 (600-699)
Topic: 673 - Parentheses Balance
Replies: 243
Views: 45065
Can Anybody Tell me Why I am getting RE? #include<stdio.h> #include<string.h> #include<stdlib.h> int main() { char str[150]; int top = 0,i,n; char stack[150]; scanf("%d%*c",&n); while(n--) { gets(str); int left = 0; int right = 0; for(i = 0; str[i]; i++) { if( (str[i] == '(') || (str[i] == '[') ) {...
Sun Mar 18, 2007 2:22 pm
Forum: Volume 3 (300-399)
Topic: 355 - The Bases Are Loaded
Replies: 74
Views: 22573
jan bhai, I have updated my code again,gives correct output for all the inputs you have given. But still getting WA. #include<stdio.h> #include<math.h> #include<string.h> #include<stdlib.h> long long in_base_10(long long f_base,char *str); void in_require_base(long long base10,long long to_base); c...
Sun Mar 18, 2007 10:56 am
Forum: Volume 3 (300-399)
Topic: 355 - The Bases Are Loaded
Replies: 74
Views: 22573
removed
Sat Mar 17, 2007 2:07 pm
Forum: Volume 3 (300-399)
Topic: 355 - The Bases Are Loaded
Replies: 74
Views: 22573

### [size=24]I am't uderstanding why judge esponse is WA [/size]

removed
Wed Feb 14, 2007 3:18 pm
Forum: Volume 4 (400-499)
Topic: 442 - Matrix Chain Multiplication
Replies: 21
Views: 3306
hello everebody i am so bored with the chilly problem. i cant find the problem in my innocent code. sample outputs are okey. but why WA? may anybody check it ? #include <iostream.h> #include <string.h> #include <stdio.h> #include <ctype.h> void push(char ch); struct m{ long row; long col; }; char st...