0

Why do I get a compilation error? I have done the math, and it comes out solid. Am I missing something?

https://code.sololearn.com/cALrNns7PxEJ/?ref=app

20th Dec 2018, 4:17 PM
David Marx
David Marx - avatar
2 odpowiedzi
+ 2
"Compilation Error" can occur when the errors/warning text generated by the compiler exceed the maximum output length. To diagnose this problem, you should: /* block comment large swaths of your code like your ENTIRE main() section */ ...and shrink the commented-off code by 5-10 lines each time you run, until No Output ...is replaced with error or warning output from the compiler (Trust me, I just did that for your code)
20th Dec 2018, 6:03 PM
Kirk Schafer
Kirk Schafer - avatar
0
What is your code supposed to do? Could you please give us an input/output example?
20th Dec 2018, 5:10 PM
Diego
Diego - avatar