Its totally wrong !
solution is
for(1to sqrt(n)-1)
if(n%i==0)
sum=sum+i+n/i;
if(n is perfect square)
sum=sum+sqrt(n)
Search found 7 matches
- Thu Jul 02, 2015 9:38 pm
- Forum: Algorithms
- Topic: Sum Of Number of Divisors
- Replies: 2
- Views: 3773
- Wed Jul 01, 2015 10:55 pm
- Forum: Volume 119 (11900-11999)
- Topic: 11939 - Landing Navigation
- Replies: 0
- Views: 1602
Re: 11939 - Landing Navigation
probably there's something wrong in this problem is there any way to correct it? some data is wrong may be. in second data set the output is- ---Start of test case--- TIME = 0.00, GO RTIME = 360.45 ANGLE = 2.86 VX = 55.49 VY = 2.77 BURST START AT TIME = 100.00 TIME = 105.00, GO TIME = 110.00, GO TIM...
- Sun Jun 14, 2015 7:51 am
- Forum: Volume 129 (12900-12999)
- Topic: 12927 - Points Cover
- Replies: 0
- Views: 338
12927 - Points Cover
i got TLE !
anyone tried it?
anyone tried it?
- Thu Jun 11, 2015 5:55 am
- Forum: Volume 129 (12900-12999)
- Topic: 12921 - Triple shot
- Replies: 0
- Views: 275
12921 - Triple shot
the sample inputs and outputs are not clear.
no istruction for terminating, i got RE .

no istruction for terminating, i got RE .

- Tue May 26, 2015 12:28 pm
- Forum: Volume 112 (11200-11299)
- Topic: 11271 - Lattice of Resistors
- Replies: 12
- Views: 3741
Re: 11271 - Lattice of Resistors
i got this function (1-e^(-abs(n*(log(e, (2-cosx+sqrt(3-4cosx+cosx^2))))))*cos(px))/(sinh(abs(log(e, (2-cosx+sqrt(3-4cosx+cosx^2)))))) will it work? the solution of the integration of the function is csch(abs(log(-cos(x)+sqrt(cos^2(x)-4 cos(x)+3)+2))) (1-cos(p x) exp(-abs(n log(-cos(x)+sqrt(cos^2(x)...
- Tue May 26, 2015 12:06 pm
- Forum: Volume 112 (11200-11299)
- Topic: 11271 - Lattice of Resistors
- Replies: 12
- Views: 3741
Re: 11271 - Lattice of Resistors
and is there any solution without recursion?
- Tue May 26, 2015 12:04 pm
- Forum: Volume 112 (11200-11299)
- Topic: 11271 - Lattice of Resistors
- Replies: 12
- Views: 3741
Re: 11271 - Lattice of Resistors
i have got some integral formula in this page ... http://www.mathpages.com/home/kmath668/kmath668.htm
is it usable ? this problem seems one of the hardest problem i ever seen.
is it usable ? this problem seems one of the hardest problem i ever seen.