Search found 54 matches

by kolpobilashi
Wed Aug 16, 2006 4:28 pm
Forum: Volume 1 (100-199)
Topic: 160 - Factors and Factorials
Replies: 205
Views: 25905

thanx a lt bro...the mistake is in the 2nd for loop condition....how cud i be so stupid :oops:

thanx again. :)
by kolpobilashi
Wed Aug 16, 2006 5:42 am
Forum: Volume 1 (100-199)
Topic: 160 - Factors and Factorials
Replies: 205
Views: 25905

sorry to bother again....... :( got WA but hav no idea whyyyyyy???? everything seems to be so perfect..read all prev threads too and thus got sure abt my output format....then where is the mistake?can any1 say :( i'm getting frustrated. removed maybe the mistake is silly...but in return wat i'm gett...
by kolpobilashi
Tue Aug 15, 2006 10:47 pm
Forum: Volume 4 (400-499)
Topic: 414 - Machined Surfaces
Replies: 49
Views: 9264

OOpS!!! its a silly mistake :oops: ......
thanx a lot Mamun bhaia......AC now :D
by kolpobilashi
Tue Aug 15, 2006 8:43 pm
Forum: Volume 4 (400-499)
Topic: 414 - Machined Surfaces
Replies: 49
Views: 9264

:( anyone can say where is my mistake?

Code: Select all

removed after AC
thanx in advance.....
by kolpobilashi
Tue Aug 08, 2006 4:41 pm
Forum: Volume 100 (10000-10099)
Topic: 10062 - Tell me the frequencies!
Replies: 235
Views: 37893

thanx a lot BOSS Bro....i got AC (without PE) atlast!! :D
by kolpobilashi
Sat Aug 05, 2006 3:51 pm
Forum: Volume 100 (10000-10099)
Topic: 10062 - Tell me the frequencies!
Replies: 235
Views: 37893

i thought this problem is a easy 1....but i got WA for my code too :( i just simply count the fequencies and then print them into their ascending order.... #include<stdio.h> #include<string.h> #define MAX 1010 int main() { char str[MAX]; while(gets(str)) { int sum[257]={0},len,i,j,temp; len=strlen(s...
by kolpobilashi
Thu Aug 03, 2006 4:22 pm
Forum: Volume 101 (10100-10199)
Topic: 10107 - What is the Median?
Replies: 74
Views: 19229

thanx a lot.
by kolpobilashi
Thu Aug 03, 2006 3:43 pm
Forum: Volume 101 (10100-10199)
Topic: 10107 - What is the Median?
Replies: 74
Views: 19229

i increased the array size......but got TLE!!
wat should i do??? :(
by kolpobilashi
Tue Jul 25, 2006 6:39 am
Forum: Volume 4 (400-499)
Topic: 495 - Fibonacci Freeze
Replies: 222
Views: 31887

RE in 495!!sumbuddy help meee!!!

i am having prob with big integer. :( i tried for 495 but got RE and don't know y...any1 tell me plz #include<stdio.h> #include<string.h> char str[1001],str1[1001]; char *add(char s1[],char s2[]) { char res[1001] = ""; int l1 = strlen (s1); int l2 = strlen (s2); int i,a,b; strrev (s1); strrev (s2); ...
by kolpobilashi
Fri Jul 07, 2006 4:04 pm
Forum: Volume 105 (10500-10599)
Topic: 10591 - Happy Number
Replies: 61
Views: 21161

thanx a lot. now ive changed the code like below...and got WA :cry: wats wrong....can any1 say.... #include<stdio.h> #include<string.h> #include<stdlib.h> int main() { long long m,j; long long arr[]={0,1,4,9,16,25,36,49,64,81}; while(scanf("%lld",&m)!=EOF) { for(j=1;j<=m;j++) { long long n; scanf("%...
by kolpobilashi
Thu Jul 06, 2006 8:26 pm
Forum: Volume 105 (10500-10599)
Topic: 10591 - Happy Number
Replies: 61
Views: 21161

:) thanx a lot. . but now i got WA.will any1 check out??? #include<stdio.h> #include<string.h> #include<stdlib.h> int main() { int m,j; while(scanf("%ld",&m)!=EOF) { for(j=1;j<=m;j++) { long long n; scanf("%lld",&n); char s2[22]; sprintf(s2,"%d",n); do { int i,len; len=strlen(s2); long long sqr1=0; ...
by kolpobilashi
Thu Jul 06, 2006 10:36 am
Forum: Volume 105 (10500-10599)
Topic: 10591 - Happy Number
Replies: 61
Views: 21161

10591 CE! sumbuddy help me!

from some prev posts i got some sample input/output which are exactly same with my code, but still i got CE from the judge. i received the msg below. 04704672_24.c: In function `int main()': 04704672_24.c:14: implicit declaration of function `int itoa(...)' "implicit declaration"...what does it mean...
by kolpobilashi
Wed Jun 21, 2006 4:52 am
Forum: Volume 100 (10000-10099)
Topic: 10019 - Funny Encryption Method
Replies: 45
Views: 5790

thanx a lotttt again Arif bhai..... :D
but when i will be able to fix such silly problems myself!! :(
by kolpobilashi
Tue Jun 20, 2006 8:45 pm
Forum: Volume 100 (10000-10099)
Topic: 10019 - Funny Encryption Method
Replies: 45
Views: 5790

10019sumbuddy help me!!!

perhaps i am thinking in a wrong way...for the 2nd part of this problem i am doing it by, converting each digit to the corresponding binary no. and count the no. of 1s, as per as i know this is also another way to convert a decimal no to hex and then binary ( :roll: ) i got WA for the code below.......
by kolpobilashi
Mon Jun 19, 2006 5:41 pm
Forum: Volume 4 (400-499)
Topic: 444 - Encoder and Decoder
Replies: 155
Views: 22526

thanx a lot Arif bhai. atlast i got AC. thnx 4 all the suggestions.:D

Go to advanced search