+ 1

This code fails me, I need the output to be "23 514 624 000", what am I doing wrong?

https://code.sololearn.com/cHmlOCZPtRWD

30th Jun 2022, 3:33 AM
Andrey
7 Respuestas
0
What is the idea? What is the logic of the problem ?
30th Jun 2022, 3:40 AM
Cristian Baeza Jimenez
Cristian Baeza Jimenez - avatar
0
basically that the code generates "23 514 624 000" at the end of everything.
30th Jun 2022, 3:42 AM
Andrey
0
Andrey So why not just do it? Console.Write("23 514 624 000")
30th Jun 2022, 7:37 PM
Emerson Prado
Emerson Prado - avatar
0
Emerson Prado, Because the goal of my question is for the code to automatically generate the result with the information it gives you.
1st Jul 2022, 1:49 AM
Andrey
0
Andrey Could you pls elaborate? How does this generation work? Which information it depends on? Where do this information come from? The way the question is written indicates the only task of the code is to output this string.
1st Jul 2022, 3:03 AM
Emerson Prado
Emerson Prado - avatar
0
I am making this code based on "Project Euler", problem 8. https://projecteuler.net/problem=8
1st Jul 2022, 3:37 AM
Andrey
0
Andrey....this the problem: Find the thirteen adjacent digits in the 1000-digit number that have the greatest product. What is the value of this product?
1st Jul 2022, 4:48 AM
Cristian Baeza Jimenez
Cristian Baeza Jimenez - avatar