+ 2

How could we report against wrong questions in challenges???

I did figure some Questions which were wrong or had wrong Answers if you figure some,just post it here and the language it belonged to Also what can we do about such Questions.

15th Jul 2017, 3:40 PM
GAURAV
GAURAV - avatar
17 odpowiedzi
+ 16
you can report them. After the challenge is complete click on "view correct answers", then scroll to the question that you think is wrong and click on the exclamation mark icon in the upper right corner.
15th Jul 2017, 4:09 PM
Nikolay Nachev
Nikolay Nachev - avatar
+ 14
//example of using String in java switch statement public class Program { public static void main(String[] args) { String x = "Name"; int a =0; switch(x){ case "ns": a= 1; break; case "Name" : a= 2; break; } System.out.println(a); } }
15th Jul 2017, 5:16 PM
Vaibhav Sharma
Vaibhav Sharma - avatar
+ 13
If you are talking about java challenge, answer is int and String
15th Jul 2017, 4:40 PM
Vaibhav Sharma
Vaibhav Sharma - avatar
+ 11
But there are wrong questions in java challenges like - : Question asking about destructor operator and a question having cout in it
15th Jul 2017, 4:44 PM
Vaibhav Sharma
Vaibhav Sharma - avatar
+ 11
It works since java 7
15th Jul 2017, 4:45 PM
Vaibhav Sharma
Vaibhav Sharma - avatar
+ 11
@gaurav I don't know about other languages but I have seen only 2 wrong questions in java challenges so far and one of them is correct just need to replace 'cout << 'with 'System.out.print'
15th Jul 2017, 4:50 PM
Vaibhav Sharma
Vaibhav Sharma - avatar
+ 10
@gaurav it will take atleast a couple of weeks or even a month so just report and don't bother
15th Jul 2017, 4:59 PM
Vaibhav Sharma
Vaibhav Sharma - avatar
+ 8
@gaurav what is wrong in this question?
15th Jul 2017, 4:35 PM
Vaibhav Sharma
Vaibhav Sharma - avatar
+ 1
I think 3 in Java so far and 1 in C++ I did notice
15th Jul 2017, 4:52 PM
GAURAV
GAURAV - avatar
+ 1
well reported all of them and did not see any progress
15th Jul 2017, 4:53 PM
GAURAV
GAURAV - avatar
0
On which of data types does switch work on 1) String 2) int 3) long 4) float Language - Java
15th Jul 2017, 4:28 PM
GAURAV
GAURAV - avatar
0
Did not remember exact Question just remember one right now will post others when see them again
15th Jul 2017, 4:29 PM
GAURAV
GAURAV - avatar
0
answer it first it's having more than 1 answer
15th Jul 2017, 4:36 PM
GAURAV
GAURAV - avatar
0
But I referenced 3 books and found that String does not work in Switch case
15th Jul 2017, 4:42 PM
GAURAV
GAURAV - avatar
0
So for Winning challenge we too have to give wrong Answers
15th Jul 2017, 4:46 PM
GAURAV
GAURAV - avatar