Search found 7 matches

by dip
Tue Jul 19, 2005 3:07 pm
Forum: Volume 103 (10300-10399)
Topic: 10330 - Power Transmission
Replies: 43
Views: 21610

>?

Hi Jalal,
My accepted codes give the same result. Good Luck :D
by dip
Fri Jul 15, 2005 9:08 pm
Forum: Volume 103 (10300-10399)
Topic: 10330 - Power Transmission
Replies: 43
Views: 21610

Hi

Hi Jalal,
My accepted program gives -->

Code: Select all

10
34
7
30
Good Luck for AIPC :D
by dip
Tue Jul 12, 2005 6:17 pm
Forum: Volume 103 (10300-10399)
Topic: 10374 - Election
Replies: 44
Views: 22939

Hi

:D
by dip
Tue Nov 30, 2004 5:24 pm
Forum: Volume 4 (400-499)
Topic: 471 - Magic Numbers
Replies: 29
Views: 15854

For WR

Hi, WR
At first, sabash for Riyad. WR, your program also produce few output. For input 5, the correct output more than 100 lines. Check this input.

Input :-
[cpp]
1
52364
[/cpp]

The output should be :-
[cpp]
52364 / 1=52364
104728 / 2=52364
157092 / 3=52364
209456 / 4=52364
523640 / 10=52364 ...
by dip
Sat Nov 27, 2004 7:29 am
Forum: Volume 4 (400-499)
Topic: 471 - Magic Numbers
Replies: 29
Views: 15854

Hi,
Here is your answer .....

1. Though the problem statement mention Integer, I use double data type to avoid possible overflow.

2. Don't need big integer. You can use double or long long.

3. The highest value of S2 not more than 9876543210. So when S2 is greater than that then break.

4. No ...
by dip
Thu Nov 25, 2004 3:15 pm
Forum: Volume 4 (400-499)
Topic: 471 - Magic Numbers
Replies: 29
Views: 15854

Hi,
Your code produce very few output for a particular input. I just checked some of your input. Hope it will help you. Be careful, its a multiple input problem. Keep posting. :D

Some of your input :
[cpp]
5

1245698

52369874

741852963

963852741

358947126

[/cpp]

Output Should Be :
[cpp ...
by dip
Wed Nov 24, 2004 8:13 pm
Forum: Volume 103 (10300-10399)
Topic: 10370 - Above Average
Replies: 62
Views: 29256

Hi,
The main thing is about Precision Error. Though you get all the correct output but there is some input you get those error. Try to use double instead of float, its a good practice. And one thing is, dont use ".000%", it will come automatically and dont need to store average. Just print the ...

Go to advanced search