Please say which language you're using (there are many), with clear examples of logs or we cannot do anything. It's very probable you're doing something wrong and if you don't provide more elements this issue could be closed. Please read carefully this: https://docs.codewars.com/training/troubleshooting/
I dont know what's happening with this compiler, it's always giving me an error message. Not even a message about the syntax or the exercise...it just yields some hexadecimal values on the screen with the std error messages
I used the sstream object to convert a string to an unsigned long long , but the value the compiler expects is so large, it's fitting just the largest number unsigned long long can hold...
"2637574369816877083807052360791494031467333046920740768740008525099123738091074151604299705421780274007108350218282173981066160583850631308813014197" They want this number lol
I dont know why I'm getting an error, actually, a timeout or whatever error, it's not even checking...I tried it on another compiler and it totally worked...it's not working here though!
Did you use 'return' in the code?
This comment is hidden because it contains spoiler information about the solution
No precision after 10 days. OP apparently uses C++, tests are fine in this language.
I think to not have it available is the point of this kata.
approved
Please say which language you're using (there are many), with clear examples of logs or we cannot do anything. It's very probable you're doing something wrong and if you don't provide more elements this issue could be closed. Please read carefully this: https://docs.codewars.com/training/troubleshooting/
COBOL translation.
I dont know what's happening with this compiler, it's always giving me an error message. Not even a message about the syntax or the exercise...it just yields some hexadecimal values on the screen with the std error messages
No number available in C/C++ can handle the values we are given here. That's the point of the kata: you must do it yourself.
I used the sstream object to convert a string to an unsigned long long , but the value the compiler expects is so large, it's fitting just the largest number unsigned long long can hold...
"2637574369816877083807052360791494031467333046920740768740008525099123738091074151604299705421780274007108350218282173981066160583850631308813014197" They want this number lol
Because
stoi
convert a string to anint
, and anint
cannot hold values so large.Why is std::stoi() not working?
I dont know why I'm getting an error, actually, a timeout or whatever error, it's not even checking...I tried it on another compiler and it totally worked...it's not working here though!
This comment is hidden because it contains spoiler information about the solution
i havent analyzed it toroughly but the fact that
counter
andverifyLastNumer
are not reset at every function call is probably problematicLoading more items...