+ 8

Hi. In visual studio this code workin but in playground dont work.. Why?

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

6th Sep 2017, 10:58 AM
Tural Muradov
Tural Muradov - avatar
6 Answers
+ 9
You could recreate the functionality of to_string yourself. https://stackoverflow.com/a/11223016
6th Sep 2017, 11:53 AM
jay
jay - avatar
+ 7
to_string is not supported here. Also there are invisible characters that are present which prevent the code from executing. They are present at lines 70 and 100. (and possibly other places) If you open this code in a web browser you will see them. This usually occurs if you copy and paste code from another source (such as from an ide or from a website)
6th Sep 2017, 11:42 AM
jay
jay - avatar
+ 6
ok, thank you
6th Sep 2017, 11:48 AM
Tural Muradov
Tural Muradov - avatar
+ 5
i know bu i dont understand what dont work
6th Sep 2017, 11:42 AM
Tural Muradov
Tural Muradov - avatar
+ 5
to_string() not workin?
6th Sep 2017, 11:42 AM
Tural Muradov
Tural Muradov - avatar