+ 1

Bad challenges - so annoying!!

There is so many challenges out there (especially in c++) which the answers to is just incorrect. for example, they ask if a code is valid while the main function should return int and the return statement isn't even written there. Please Sololearn - you are great, but review the challenges better please!!! (I literally almost broke my phone raging on the fifth time)

14th Apr 2017, 9:53 PM
anon
anon - avatar
9 Answers
+ 6
If you find an incorrect question in challenges please do report it. Thats all we can do for now đŸ˜„
14th Apr 2017, 9:58 PM
Shraddha
Shraddha - avatar
+ 2
In java challenges, there are some really triggering questions. Why would ever do "String s = new String("g")" or "Integer i = new Integer(4)", you just do not do that.
14th Apr 2017, 10:16 PM
Martin Soukup
Martin Soukup - avatar
+ 2
"depends on the compiler" This is only true if you're using a compiler that doesn't follow the specs. Otherwise, it is always a given that a main function without a return statement returns 0: http://www.stroustrup.com/bs_faq2.html
14th Apr 2017, 11:11 PM
Squidy
Squidy - avatar
+ 1
Speaking of Java challenges I also thought many answers were wrong. Later I found out that I was wrong, some of them are really tricky
14th Apr 2017, 10:10 PM
Martin Soukup
Martin Soukup - avatar
+ 1
@merkrafter - depends on the compiler. you know what - wonderful. There is a question in the challenges which ask if a code is valid to and the return value doesnt exist there and the answer is not valid. (f-word) choose which way to go...
14th Apr 2017, 10:12 PM
anon
anon - avatar
+ 1
@Martin - hahaha in c++ I had a question which was so not trivial to understand something like the output of string("abc" "ghd")
14th Apr 2017, 10:19 PM
anon
anon - avatar
0
9) Create a program that prompts the user for two start and end numbers and shows on the screen a countdown Number entered for the beginning and scroll to the number entered as end. Someone resolves this one for me.
14th Apr 2017, 10:25 PM
Macos Leandro
0
In C # language
14th Apr 2017, 10:31 PM
Macos Leandro
- 3
(In C++ you don't necessarily need a return statement in the main function. If you don't write one, the compiler adds it automatically.)
14th Apr 2017, 10:09 PM
merkrafter