Search found 1 match
Search found 1 match • Page 1 of 1
- Mon Oct 25, 2004 9:14 am
- Forum: Volume 1 (100-199)
- Topic: 100 - The 3n + 1 problem
- Replies: 1394
- Views: 184335
I've tried using C++ with the same algorithm,and got AC. But when using JAVA,always time exceeded: Your program has used more time (10.094 seconds) than the maximum allowed for this problem by this judge (10 seconds). Anyone can tell me how to shorten the time?? [java]import java.io.IOException; imp...