I have started learning JAVA recently. I wrote a code for this problem.
Reference to my code is here.
I can't find out why it is giving me TLE. Can someone help out?
UPD : I found the problem. I needed to keep 1 << 20 in parenthesis.
Why my JAVA code gives TLE?
I have started learning JAVA recently. I wrote a code for this problem.
Reference to my code is here.
I can't find out why it is giving me TLE. Can someone help out?
UPD : I found the problem. I needed to keep 1 << 20 in parenthesis.
| Rev. | Язык | Кто | Когда | Δ | Комментарий | |
|---|---|---|---|---|---|---|
| en2 |
|
Siriuslight | 2019-02-21 10:19:36 | 77 | ||
| en1 |
|
Siriuslight | 2019-02-21 10:11:36 | 306 | Initial revision (published) |