0
Code works on PC but doesn't in Solo Learn???
Hello! This code works perfectly fine on PC but it gives error in this app. Am I missing something or what?? Thanks for any contribution 🙏 😊 https://code.sololearn.com/cLj9i9mf5gqr/?ref=app
6 Respostas
+ 5
rewrite it without all the extra weird characters
https://code.sololearn.com/ccSOHU2Kswuv/?ref=app
+ 2
Also, C doesn't like array declarations with a variable as its size. You could use memory allocation but, hey, do you really have to store all values?
+ 1
Slick Ohh, I didn't know how to interpret those error messages. Thanks a lot
0
Slick Sorry but I can't see any weird character 😕 Could you tell me the which line in my code??
0
So many lines. Run your code and look at each line it throws an error on. There are your weird characters
Some characters are not visible
0
Emerson Prado Oh yeah, I got your point rn. I can make calculation in input phase without storing all inputs. More efficient idea. Thanks