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 ?????
№ | Пользователь | Рейтинг |
---|---|---|
1 | tourist | 4009 |
2 | jiangly | 3831 |
3 | Radewoosh | 3646 |
4 | jqdai0815 | 3620 |
4 | Benq | 3620 |
6 | orzdevinwang | 3529 |
7 | ecnerwala | 3446 |
8 | Um_nik | 3396 |
9 | gamegame | 3386 |
10 | ksun48 | 3373 |
Страны | Города | Организации | Всё → |
№ | Пользователь | Вклад |
---|---|---|
1 | cry | 164 |
1 | maomao90 | 164 |
3 | Um_nik | 163 |
4 | atcoder_official | 160 |
5 | -is-this-fft- | 158 |
6 | awoo | 157 |
7 | adamant | 156 |
8 | TheScrasse | 154 |
8 | nor | 154 |
10 | Dominater069 | 153 |
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 ?????
Название |
---|
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.