+ 5
I submitted a quiz but it was declined with a reason saying not to submit questions involving binary(bitwise) operations. Why ?
//Please,do not submit questions involving binary (bitwise) operations What is the output of this code? int main (){ int a=5,b=6; a^=b; b^=a; a^=b; cout<<a; }
7 odpowiedzi
+ 18
agree with Brains
//i am too making medium level quizzes now
/*i skip those quizzes include bitwise &which i don't know or take time , dislike those which are wrong , multianswerable, case sentivity & like those which i think shows some concept */
+ 17
agree @Avinash
but quizzes are made considering every1 , not only some ppl ... there is some time limit also so if quiz'll take more time , then many'll not be able to solve in time
//this might help you out
https://www.sololearn.com/Discuss/470195/?ref=app
+ 5
Maybe it's because not everybody can handle bitwise operations.The key to have approved quizzes is that your quiz shouldn't be too easy or common and neither should it be too complex
+ 3
Perhaps because bitwise ops. are not covered in the SL lessons (yet).
It's a great thing to learn how it works. In your example we see how is possible to replace the values between two variables without the need of another (temporary) variable.
Here is another variant using math operations:
int a = 5;
int b = 10;
a = a + b;
b = a - b;
a = a - b;
+ 2
I want also official explanation from soloLearn Staff Board about this ban.because I really don't understand
+ 2
I don't agree with the reasoning that quizzes should be medium level and not too easy or complex.
Regarding easy quizzes, I've seen quizzes so easy that even one who knows nothing about coding can answer them.
and, complex quizzes should be there for profiles having higher levels. Currently, one can gain higher level only by staying with sololearn for long enough. Higher level isn't an indication of high knowledge, but long persistence.
// one easy as dumb quiz was
some_loop{
cout<<"a";
}
// answer depended on how many times the loop runs, but one can answer it successfully by pressing "a" till the maximum limit of input field. (maximum limit equals to the length of answer.)
+ 1
If I were you make an endless game, I would keep increasing the difficulty level, to "insane" and beyond. This way, only people with skill could get highest ranks and not people with free time.