Please anyone tell me what’s wrong with my code? I am getting WA.
This is the link to my code.
PLEASE HELP ME I HAVE TRIED FOR 6 DAYS AND NOT ABLE TO UNDERSTAND WHY IS MY CODE NOT WORKING
I HAVE TRIED EVERYTHING POSSIBLE AND EVERY CASE I COULD THINK OF
PLEASE SEE THESE TWO CODES
https://www.codechef.com/viewsolution/27374478
https://www.codechef.com/viewsolution/27396825
THANKING YOU IN ADVANCE
i have a question, if a number is 458001, then the minimum possible base is ‘9’ not 2. then why we are starting with 2 always?
What’s wrong with the comparison operators you used on pairs of int
s?
Did u try x = 15LLU, y = 15LLU
instead?
help me pls . my code giving right answer on my self made TC but when i m submitting it WA coming .
here is my solution : CodeChef: Practical coding for everyone
pls someone look over my code and find the bug in it .
i’m storing -1 instead of pow(10, 12). I’m checking this condition in my function call.
Could anyone tell me whats wrong with my code…i have used exactly the same concept
https://www.codechef.com/viewsolution/27335116
Thanks in advance!!
Please help me
I cannot find where are the problems?
Thanks in advance.
Here is my code
https://www.codechef.com/viewsolution/27438385
https://www.codechef.com/viewsolution/27471068
Here is my solution. I dont know where i am going wrong. People say life is short and this problem will take up half of it if i dont get where i am going wrong in this
Why is it considered that size of nos are going to be less than 10^12 when there is not explicit mention of such constraints?
Why is multiplication of large nos using strings not used in this cases ?
Can someone give me testcases to check where my code is failing.
https://www.codechef.com/viewsolution/27815943