Search found 11 matches

by eyeabhi
Fri May 26, 2006 2:45 pm
Forum: Volume 4 (400-499)
Topic: 406 - Prime Cuts
Replies: 187
Views: 24245

Thank u ... I got it

My program had a bug, i fixed it and got AC. thank u very much for ur input/output.
by eyeabhi
Mon May 22, 2006 10:19 pm
Forum: Volume 4 (400-499)
Topic: 406 - Prime Cuts
Replies: 187
Views: 24245

WA 406 -- All the input output i found all r correct

/* Prime Cuts */ #include <stdio.h> #include <iostream.h> #include <math.h> #define MAX 2000 void sieve(int *p) { int count; int i, j; count = (int)sqrt(MAX) + 1; for(i = 4; i < MAX; i += 2) p[i] = 1; // means i is not prime p[2] = 0; // means 2 is prime for(i = 3; i < MAX; i += 2) p[i] = 0; // i i...
by eyeabhi
Wed May 17, 2006 6:49 pm
Forum: Volume 101 (10100-10199)
Topic: 10106 - Product
Replies: 98
Views: 27846

didn't understand

Hi a123123123888,

I didn't understand wht u tried to say.

But i have solved the problem. It had the problem with the size of the array.

Thank u.
by eyeabhi
Mon May 15, 2006 11:05 am
Forum: Volume 101 (10100-10199)
Topic: 10110 - Light, more light
Replies: 76
Views: 26925

10110

I think if the number of bulbs is a perfect square, then answer is yes, otherwise no. Is my guess incorrect?

Code: Select all

deleted
I get WA every time. Plz anyone tell me whts wrong here?

I have solved the problem.
by eyeabhi
Sun May 14, 2006 9:58 pm
Forum: Volume 101 (10100-10199)
Topic: 10106 - Product
Replies: 98
Views: 27846

10106

Hi, my code gives proper output in all test cases I tested, but i am getting WA all the time. Plz any one tell me whts wrong, or give me some tricky input. Here's my code /* Product */ #include <stdio.h> #include <stdlib.h> #include <string.h> #define DIGIT 300 /* Adds preceding zero */ void adzero(...
by eyeabhi
Fri May 05, 2006 7:15 pm
Forum: Volume 100 (10000-10099)
Topic: 10093 - An Easy Problem!
Replies: 52
Views: 15361

there's another technique

Though i did not understand ur code properly(as u didn't give any description), it seems that u tried to convert a N-base number into decimal. Just think if a 62-base number with 10 digit is converted into decimal, it would cross long long very easily. There is another technique for the problem. The...
by eyeabhi
Thu May 04, 2006 10:52 pm
Forum: Volume 100 (10000-10099)
Topic: 10035 - Primary Arithmetic
Replies: 328
Views: 60058

Please give some description of your code (this is too clumsy) if u really want to get help. I tried ur code, it ran smoothly, but i didn't understand it.
So i could not find why it gets wa.
by eyeabhi
Thu May 04, 2006 9:04 am
Forum: Volume 100 (10000-10099)
Topic: 10008 - What's Cryptanalysis?
Replies: 55
Views: 17838

Thank u GURU

using scanf("%d\n"), i got acc.
my idea about "some other machines" was completely wrong.
Thank u very much.
by eyeabhi
Wed May 03, 2006 8:20 pm
Forum: Volume 100 (10000-10099)
Topic: 10008 - What's Cryptanalysis?
Replies: 55
Views: 17838

Here's my code.. it gets WA each time

please check this out and give a response....
Thank u very much..[/code]
by eyeabhi
Wed May 03, 2006 6:56 pm
Forum: Volume 100 (10000-10099)
Topic: 10008 - What's Cryptanalysis?
Replies: 55
Views: 17838

ashik's code is allright in my machine

ashik,
i also got a WA in 10008. my program also seems to be correct and is give exactly the sample output for sample input. I think we both having a critical problem--- our code does not give proper output on some other machines...
please someone tell us what to do?

Abhishek
Dhaka
by eyeabhi
Wed May 03, 2006 6:55 pm
Forum: Volume 100 (10000-10099)
Topic: 10008 - What's Cryptanalysis?
Replies: 55
Views: 17838

ashik's code is allright in my machine

ashik,
i also got a WA in 10008. my program also seems to be correct and is give exactly the sample output for sample input. I think we both having a critical problem--- our code does not give proper output on some other machines...
please someone tell us what to do?

Go to advanced search