I submited my java code to problem Q100 3n+1 and got Time Limit Exceeded .
And it is interesting that your sample java code is TLE , too .
java
Moderator: Board moderators
-
- System administrator
- Posts: 1286
- Joined: Sat Oct 13, 2001 2:00 am
- Location: Valladolid, Spain
- Contact:
Re: java
Our sample java code is to show you how we expect java submissions. It's not intended to be AC (even if it's a valid solution, the algorithm is too slow)
DON'T PM ME --> For any doubt, suggestion or error reporting, please use the "Contact us" form in the web.