## Search found 39 matches

Sat Mar 24, 2007 10:12 pm
Forum: Volume 100 (10000-10099)
Topic: 10035 - Primary Arithmetic
Replies: 328
Views: 56239
Hi,

Just try this input.

5210357 1245874

Correct output is : 3 carry operations.

But your output is : 4 carry operations.

You have done some mistakes in carry operation.

ABDULLAH.
Sat Mar 24, 2007 8:46 pm
Forum: Volume 5 (500-599)
Topic: 541 - Error Correction
Replies: 27
Views: 11656
Rushow,

ABDULLAH
Sat Mar 24, 2007 6:29 am
Forum: Volume 5 (500-599)
Topic: 541 - Error Correction
Replies: 27
Views: 11656
Rushow,

Just change the 2d array to [102][102].
You will get accepted and remove youe accepted code.

ABDULLAH.
Fri Mar 23, 2007 4:09 pm
Forum: Volume 5 (500-599)
Topic: 591 - Box of Bricks
Replies: 80
Views: 10914
Hi, There is a wrong in your output section. Your output section is cin >> stackTotal; // outer loop only entered if the stack total is not zero ... cin >> stacks[i]; ... // process the stuff and do some calculations // print out the result cout << endl << "Set #" << count << endl; cout << "The mini...
Fri Mar 23, 2007 8:07 am
Forum: Volume 4 (400-499)
Topic: 406 - Prime Cuts
Replies: 187
Views: 21945
Hi,

I think your output section is not right.

print(n*c:*);
print(list_of_prime_no*);
print(\n\n);
print(n*c:no space);
print(*list_of_prime_no);
print(\n\n);

Thanks.
ABDULLAH
Tue Mar 20, 2007 7:37 am
Forum: Volume 1 (100-199)
Topic: 145 - Gondwanaland Telecom
Replies: 62
Views: 7086
Debashis,

Thanks a lot. I got accepted.
Mon Mar 19, 2007 4:34 am
Forum: Volume 1 (100-199)
Topic: 160 - Factors and Factorials
Replies: 205
Views: 24093
Rana, I think you don't read the output section clearly. Output will consist of a series of blocks of lines, one block for each line of the input. Each block will start with the number N, right justified in a field of width 3, and the chracters `!', space, and `='. This will be followed by a list of...
Thu Mar 15, 2007 8:51 pm
Forum: Volume 1 (100-199)
Topic: 145 - Gondwanaland Telecom
Replies: 62
Views: 7086

### P.E reason for 145(Gondwanaland Telecom)

Hi all, I have just solved gondwanaland telecom(145). But get P.E. I can't find out the reason for P.E. My output section is like this: printf("%10s %6d %6d %6d %3c %8.2lf\n",phone,p,q,r,ch,total_cost); gets(phone); The last line is for taking the new line that does not make trouble for taking the c...
Tue Dec 19, 2006 4:42 am
Forum: Volume 101 (10100-10199)
Topic: 10193 - All You Need Is Love
Replies: 23
Views: 9329
This is very easy problem. I can say you my method to solve this problem.

1. Find the decimal equavalent for the two binary number.

2.Find the GCD of this two decimal number.

3. If GCD is 1 then print the second condition.

4. Or print the first condition.