Back to Problem Solutions forum
Hello, I really do not know what is wrong with my code, so that the case you publish gives me and I see that my algorithm follows the steps of CheckSum, but it tells me that my response is not as expected. Please help
Hi,
I can't see anything wrong with your code, but I use C++.
With the following input, your Java code gives the same answer (5003589) as my C++ code.
22
5 983881 595 7 2 4181248 7 31275983 63 3986114 1969694 749 27974456 327 1189 609629 16032 738506 6787703 80787 185679151 46
Hello Quandray, thank you very much, in fact I have reviewed my code, I have done it in different ways and the answers as stated, so why tell me that my answer is wrong? What should I do?
Thanks for your attempt to solve task #17 ‐ Array Checksum
Your answer is Wrong You may Try again if you want to.
HELP PLEASE!!!!!!!!
Try again. Make a note of the input data, your answer and the expected answer. Then post all three on here.
Thanks for your attempt to solve task #17 ‐ Array Checksum
Your answer is Correct You now are allowed to see other's solutions of this task!
I do not understand, because now if this is good, if I have not changed anything.
I would like an answer that justifies that, thank you Quandray!
Sorry, but nothing has changed at CodeAbbey. Without seeing the input, your answer and the expected answer, I can't say what happened.
Greetings, the only thing I can think of is that maybe a space has been left to paste the response and that is why I rejected it.