Search found 12 matches

by Mohsin Reza Razib
Wed Oct 28, 2009 5:52 am
Forum: Volume 117 (11700-11799)
Topic: 11713 - Abstract Names
Replies: 13
Views: 6612

Re: 11713 Abstract Names getting WA

I still have complaints about problem specification "a name which can be obtained by replacing zero or more vowels by other vowels to obtain a new name are considered same"
It should be like : "a name which can be obtained by replacing ONE or more vowels by other vowels to obtain a new name are ...
by Mohsin Reza Razib
Tue Oct 27, 2009 12:56 pm
Forum: Volume 117 (11700-11799)
Topic: 11713 - Abstract Names
Replies: 13
Views: 6612

Re: 11713 Abstract Names getting WA

Thanks Mr. r2ro. I got it accepted. That was so nice of you. I still have complaints about problem specification "a name which can be obtained by replacing zero or more vowels by other vowels to obtain a new name are considered same"
It should be like : "a name which can be obtained by replacing ONE ...
by Mohsin Reza Razib
Tue Oct 27, 2009 10:14 am
Forum: Volume 117 (11700-11799)
Topic: 11713 - Abstract Names
Replies: 13
Views: 6612

11713 - Abstract Names

I am continuously getting WA for this. Here is my code:
Accepted removed
Can anyone give any critical output or hint on this. And what should be output for this:
5
pele
pele
jkl
jkl


dfg
dag
bad
bcd
My output are:
No
No
No
No
No
And can anybody explain the problem description:"a name which can ...
by Mohsin Reza Razib
Thu Oct 22, 2009 7:43 am
Forum: Volume 116 (11600-11699)
Topic: 11689 - Soda Surpler
Replies: 11
Views: 8281

Re: 11689 Soda Surpler wrong answer

Thanks buddy. I finally got accepted. :D I never consider there was a problem in my logic. I thought it was a output related error. My eyes are open now and i will be focus in future.
Thanks mr. poixp again.
by Mohsin Reza Razib
Wed Oct 21, 2009 5:09 pm
Forum: Volume 116 (11600-11699)
Topic: 11689 - Soda Surpler
Replies: 11
Views: 8281

11689 - Soda Surpler

I am continuously getting WA for the following code. I am completely depressed. Somebody please help. :cry:
accepted. Removed.
by Mohsin Reza Razib
Sun Oct 11, 2009 2:49 pm
Forum: Volume 116 (11600-11699)
Topic: 11636 - Hello World!
Replies: 30
Views: 12499

11636 wrong answer. Pls help

Accepted. Code removed. Silliest mistake of my life.
by Mohsin Reza Razib
Sun Oct 11, 2009 1:08 pm
Forum: Volume 116 (11600-11699)
Topic: 11692 - Rain Fall
Replies: 3
Views: 3352

11692 getting WA

sorry wrong place
by Mohsin Reza Razib
Fri Aug 17, 2007 9:53 pm
Forum: Volume 1 (100-199)
Topic: 112 - Tree Summing
Replies: 137
Views: 32310

I am getting the message :
Your program has died with signal 11 (SIGSEGV). Meaning:
Invalid memory reference
This is my code. Someone plz tell me why i am having this problem. The program seems ok to me.
CODE:
#include<stdio.h>
#include<ctype.h>
#include<stdlib.h>
void main(){
int a[10000],b,i=0 ...
by Mohsin Reza Razib
Fri Aug 17, 2007 8:23 pm
Forum: Volume 1 (100-199)
Topic: 112 - Tree Summing
Replies: 137
Views: 32310

I am getting the message :
Your program has died with signal 11 (SIGSEGV). Meaning:
Invalid memory reference
This is my code. Someone plz tell me why i am having this problem. The program seems ok to me.
CODE:
#include<stdio.h>
#include<ctype.h>
#include<stdlib.h>
void main(){
int a[10000],b,i=0,j ...
by Mohsin Reza Razib
Fri Aug 17, 2007 7:36 pm
Forum: Volume 112 (11200-11299)
Topic: 11247 - Income Tax
Replies: 50
Views: 28200

read the problem again. b in your code is always integer. Just avoid double completely and use long long int. Using double in this problem may result in prcesion error. change while(scanf("%ld %lf",&a,&b)==2) to while(1).
by Mohsin Reza Razib
Fri Aug 17, 2007 6:45 am
Forum: Volume 112 (11200-11299)
Topic: 11247 - Income Tax
Replies: 50
Views: 28200

chinmoy. you dont,t have a upper limit for v, it is (v-v*(x/100))<m-1, and
check if v<m/(1-(x/100)). And don't use double, use long long int. Try to use a specific upperlimit.
by Mohsin Reza Razib
Thu Aug 16, 2007 6:18 pm
Forum: Volume 112 (11200-11299)
Topic: 11247 - Income Tax
Replies: 50
Views: 28200

As far as i understand from the problem statement v is as,
(v-v*(x/100))<m and in my algorithm i used the maximum value for v as
v<m/(1-(x/100)) and here is my code. It gives output for 51 50 as 98, 100 67 as 299, 51 2 as 51, 2 99 as 99 and for (x==0||x==100||m==1) as 'Not found'. Some pls help me ...

Go to advanced search