Simply printing System.out.println("Karen"); passes all the test case of this question.
Is there any logic behind it or it was simply my luck and a mere coincidence ?????
# | User | Rating |
---|---|---|
1 | tourist | 4009 |
2 | jiangly | 3773 |
3 | Radewoosh | 3646 |
4 | ecnerwala | 3624 |
5 | jqdai0815 | 3620 |
5 | Benq | 3620 |
7 | orzdevinwang | 3612 |
8 | Geothermal | 3569 |
8 | cnnfls_csy | 3569 |
10 | gyh20 | 3447 |
# | User | Contrib. |
---|---|---|
1 | awoo | 161 |
2 | maomao90 | 160 |
3 | nor | 157 |
4 | atcoder_official | 156 |
4 | cry | 156 |
6 | -is-this-fft- | 155 |
7 | maroonrk | 154 |
8 | adamant | 153 |
9 | Um_nik | 151 |
10 | djm03178 | 146 |
Simply printing System.out.println("Karen"); passes all the test case of this question.
Is there any logic behind it or it was simply my luck and a mere coincidence ?????
Name |
---|
Your streak is awesome but you should try practicing problems of higher difficulty, because the percentage of problems you have solved with rating >= 1200 is just 10 percent of your total solved problems and that's really low. I hope you would find this advice helpful.
Have a look at the level of the problems you have solved here.
one gray guy teaching another gray guy OK
You can correct me if I said something wrong. The advice of solving problems higher than your current rating is not my advice it's what I have learnt from red coders like errichto etc. Also I said something which is quite obvious and is correct even if a gray says it, idk where you get that logic that if gray says something about cp that makes it invalid or less worthy to consider.
it's less worth just because u don't have enough experience. I have a question: if ur advice is good why are u still gray? now the author says that's ok giving advice but to me it looks like someone ask a question about task and another man with no reason starts to giving advice)
I think it because if $$$a$$$ $$$xor$$$ $$$b$$$ == $$$c$$$ it means that $$$a$$$ $$$xor$$$ $$$c$$$ = $$$b$$$, so if you found indexes $$$i$$$ and $$$j$$$ and $$$a_i$$$ $$$xor$$$ $$$b_j$$$ $$$=$$$ (number in second array), you can choose this number and get $$$a_i$$$ $$$xor$$$ (this number) = $$$b_j$$$. If this number in first array, you can choose (this number) $$$xor$$$ $$$b_j$$$ = $$$a_i$$$. So if you found pair you can also find another pair.