Apr 17, 2013 21:51
bye
Apr 17, 2013 21:51
anyways , leave it
Apr 17, 2013 21:51
i said , program works fine , but giving wrong answer when used on large number .
Apr 17, 2013 21:49
@JimmyHoffa , @MichaelT : bye Good night
Apr 17, 2013 21:48
i am leaving
Apr 17, 2013 21:48
I think , you will not help me regarding my output , you are just focusing on my coding error , not on algo ,
Apr 17, 2013 21:44
because , the same function is going to be used for odd number in which it may vary
Apr 17, 2013 21:42
what is the sideeffect sir ?/
Apr 17, 2013 21:37
edited...
Apr 17, 2013 21:36
Apr 17, 2013 21:35
new code
Apr 17, 2013 21:17
have you understoood the logic of my code ??
Apr 17, 2013 21:17
@MichaelT : i am not gettin you..
Apr 17, 2013 21:16
tell me...which variables bug you ?
Apr 17, 2013 21:15
yes..is that wrong ??
Apr 17, 2013 21:14
they are just arguments , s stands for parameter of 'second'
Apr 17, 2013 21:13
ohhh
Apr 17, 2013 21:12
what is block quotes ??
Apr 17, 2013 21:12
but it is only of even right now
Apr 17, 2013 21:11
*when input is even
Apr 17, 2013 21:11
@MichaelT , @JimmyHoffa , code for next palindrome , when next input is given ideone.com/PsDFh0
Apr 17, 2013 21:08
@mich
Apr 17, 2013 19:07
ok
Apr 17, 2013 19:05
sorry
Apr 17, 2013 19:01
@MichaelT , some readable updated for even numbers ideone.com/qlP4eL
Apr 17, 2013 18:39
thanx
Apr 17, 2013 18:36
@JimmyHoffa : Sir , plz repeat the advice
Apr 17, 2013 18:33
even :497653 , 496753 , 497753 , 499953
Apr 17, 2013 18:32
34187 , 38947 , 38947 , 34987 , 39987 , 38997 , 39999 , 99999
Apr 17, 2013 18:31
odd : 38147
Apr 17, 2013 18:31
Sir , i can give different cases , have a look
Apr 17, 2013 18:28
Sir, if u want to know about a variable , ask me , i can tell about it
Apr 17, 2013 18:28
Sir , actually we earlier also , i spent 2 hours on removing redundant code...but i was unable to...right now..my goal is to make it give correct output...
Apr 17, 2013 18:25
it shows wrong answer ... why ??
Apr 17, 2013 18:24
spoj problem : next palindrome
Apr 17, 2013 18:24
PLEASE have a look at my code ... ideone.com/N4NUVD
Apr 17, 2013 16:09
portal for programs challenging
Apr 17, 2013 16:08
sphere online judge
Apr 17, 2013 16:07
no sir...its a spoj problem
Apr 17, 2013 16:04
ok sir
Apr 17, 2013 16:04
i can post algo i have used
Apr 17, 2013 16:04
sir , i have spent two days on it...
Apr 17, 2013 16:01
Sorry sir .. but plz hellp
Apr 17, 2013 15:59
@JimmyHoffa : but why do u think it is problematic , it genearate correct output
Apr 17, 2013 15:54
i dont know
Apr 17, 2013 15:54
guys , i have used same approch why does spoj shoes it as a wrong answer ....
Apr 17, 2013 15:53
This is the code I have written : pastebin.com/CKbf4rve
Apr 17, 2013 15:50
no . of 1011 it should be 1111
Apr 17, 2013 15:49
also , the condition is number can be 10000000 digits long
Apr 17, 2013 15:48
Sorry friends , here i did a mistake , instead of closest it should be next