+ 2

Unused pointer matters to code coach output😭🤔

I was solving Extra-territorials, and I have just found that my unused pointer matters to case #5. Can anyone explain this to me??? https://www.sololearn.com/coach/51?ref=app

30th Jan 2020, 3:18 PM
전은지
전은지 - avatar
6 odpowiedzi
+ 1
https://code.sololearn.com/cj2qm8Zc6K9B/?ref=app Thank you!
30th Jan 2020, 10:40 PM
전은지
전은지 - avatar
0
If you erase the pointer, case 5 becomes wrong.
30th Jan 2020, 3:20 PM
전은지
전은지 - avatar
0
Code coach expext the ouput exactly same as required not more not less.. For ex: Expexted is "hello" then output only "hello" not with extra blanks or extra unvisible charecters. I think warning does not count but errors matters.. Edit: You need just to reversly output the string.. You can try without pointers.. Or else post your code here..
30th Jan 2020, 3:37 PM
Jayakrishna 🇮🇳