Hello everybody,
I am having difficulties solving some problems using Java (TLE) but it passes after reimplementing it in C++
like ( http://icpcres.ecs.baylor.edu/onlinejudge/index.php?option=com_onlinejudge&page=show_problem&problem=1039 ) and I am pretty sure that this issue concerns the IO so I ...
Search found 3 matches
- Wed Sep 10, 2008 2:38 am
- Forum: Volume 100 (10000-10099)
- Topic: 10098 - Generating Fast
- Replies: 62
- Views: 21661
- Wed Sep 10, 2008 2:27 am
- Forum: Volume 100 (10000-10099)
- Topic: 10098 - Generating Fast
- Replies: 62
- Views: 21661
Re: 10098 - Generating Fast, Sorted Permutation
Hello everbody,
I have passed this problem using C++ after getting TLE when trying to take the IO using cin-cout
and I tried to pass it with java (my default language) but I can't and I think the problem is in the I/O
specially for the output as outputting 10! lines (3628800) requires efficient IO ...
I have passed this problem using C++ after getting TLE when trying to take the IO using cin-cout
and I tried to pass it with java (my default language) but I can't and I think the problem is in the I/O
specially for the output as outputting 10! lines (3628800) requires efficient IO ...
- Fri Aug 22, 2008 5:36 pm
- Forum: Volume 105 (10500-10599)
- Topic: 10533 - Digit Primes
- Replies: 108
- Views: 47937
Re: 10533 - Digit Primes
Hello everyone,
I have already solved this problem using DP and implemented it in C++ and got accepted in 0.9 secs.
However I can't pass this problem using Java and same algorithm for C++ implementation.
Any help would be appreciated.
Thanks in advance.
import java.io.*;
import java.util ...
I have already solved this problem using DP and implemented it in C++ and got accepted in 0.9 secs.
However I can't pass this problem using Java and same algorithm for C++ implementation.
Any help would be appreciated.
Thanks in advance.
import java.io.*;
import java.util ...