- 1

SoloLearn Compiler Problem

Hi, I wrote a program to draw a triangle, and it works on my computer's compiler and some C++ compilers online, like these ones https://www.onlinegdb.com/online_c++_compiler, and http://cpp.sh, but not Sololearn's C++ website compiler (app works fine). The problem is that the Sololearn C++ website compiler truncates spaces for some reason. Can it be fixed? https://code.sololearn.com/c2LRnKckxGX1/#

2nd Feb 2021, 3:43 AM
Edward Finkelstein
Edward Finkelstein - avatar
3 Answers
+ 1
What is your excepted pattern?
2nd Feb 2021, 3:45 AM
Atul [Inactive]
0
Atul Copy and paste my code into one of those other compilers I posted links for, and then you input integer value, and it will output a triangle of the corresponding size. Did you try it? Update: on the sololearn app it works, but not on the website.
2nd Feb 2021, 3:49 AM
Edward Finkelstein
Edward Finkelstein - avatar
0
Edward Finkelstein In different complier also the result is same
2nd Feb 2021, 3:45 PM
Atul [Inactive]