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 | jiangly | 4039 |
2 | tourist | 3841 |
3 | jqdai0815 | 3682 |
4 | ksun48 | 3590 |
5 | ecnerwala | 3542 |
6 | Benq | 3535 |
7 | orzdevinwang | 3526 |
8 | gamegame | 3477 |
9 | heuristica | 3357 |
10 | Radewoosh | 3355 |
# | User | Contrib. |
---|---|---|
1 | cry | 168 |
2 | -is-this-fft- | 165 |
3 | atcoder_official | 160 |
3 | Um_nik | 160 |
5 | djm03178 | 158 |
6 | Dominater069 | 156 |
7 | adamant | 153 |
8 | luogu_official | 152 |
9 | awoo | 151 |
10 | TheScrasse | 147 |
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.