+ 1
Can someoe tell me how did I solve the Challenge of Security?you can see clearly the mistakes in the last loop! ? correct=false
https://sololearn.com/compiler-playground/cYE6qZXST3BS/?ref=app
8 odpowiedzi
+ 1
Hasan Abouorra, i'm always here to help, specially for C++ and C
+ 1
Alhaaz see here pls
+ 1
Hasan Abouorra, i checked your code and it was 80% correct but give wrong output in some conditions like here xxxGxxx$xxxT, your code says "quite" but it must be "Alarm", that happened cuz you are not providing more if-else for more conditions, so here i rewrite your whole code and now it working
https://sololearn.com/compiler-playground/cBph01oo93qt/?ref=app
+ 1
Alhaaz thank u very much I knew that my Code was wrong I just wonderd how could the Challenge be passed with it! (If u paste the code in the challenge you will see) it is kinda funny. Thank u for correcting my Code and I am happy that we have a hlepfull C++ profi here:)
+ 1
Hasan Abouorra yup as i said before your code was 80% correct but it give wrong output in some conditions, maybe it passed the challenge cuz their was not those conditions which leads to wrong output.
0
Note: I did the mistakes really by accident especielly the one with Floor[ch-1] !=G which did somehow solve the challenge!
-? Correct = false, I mean with that that if you correct the code the challenge get no more solved, which is actually funny:)
0
This should be the challenge so try it ur self with the code: https://www.sololearn.com/coach/77?ref=app
0
Alhaaz C++ Profi
Your Code was amazing! but check this for me now:)
https://sololearn.com/compiler-playground/ch4aE50Gw5SC/?ref=app