Search found 6 matches
- Tue Jul 04, 2006 3:43 am
- Forum: Volume 5 (500-599)
- Topic: 530 - Binomial Showdown
- Replies: 137
- Views: 49045
I believe there is something funny within this problem. i solved the problem in java, by working on the formula (n-m-1)*...*n / m!, but try first to reduce every multiplier in the numerator with each multiplier in the denominator by their gcd (greatest common devisor), such that we can guarantee ...
- Thu Jun 09, 2005 7:48 pm
- Forum: Volume 100 (10000-10099)
- Topic: 10013 - Super long sums
- Replies: 212
- Views: 67621
10013
I've tried really hard and enormous different approaches but still cannot get it work..... i even copy-pasted exactly the same code from C to JAVA except for difference from input/output, but it still gave a TLE error while the same code in C got AC, depresssssed....
Could any JAVA experts who has ...
Could any JAVA experts who has ...
- Thu Jun 09, 2005 4:36 am
- Forum: Volume 100 (10000-10099)
- Topic: 10013 - Super long sums
- Replies: 212
- Views: 67621
- Thu Jun 09, 2005 4:29 am
- Forum: Volume 100 (10000-10099)
- Topic: 10013 - Super long sums
- Replies: 212
- Views: 67621
10013 by a desperate JAVA user.... MLE + TLE
hi dudes, i am extremely desperate.... i implemented problem 10013 by JAVA using 2 different algorithms and submitted over 25 times, one got Memory Limit Exceeded, and the other Time Limit excceeded.... could any java experts please give me a hand?
the first version got MTE:
import java.util ...
the first version got MTE:
import java.util ...
- Fri Jun 25, 2004 9:35 pm
- Forum: Volume 2 (200-299)
- Topic: 299 - Train Swapping
- Replies: 81
- Views: 24003
WA 299..... somebody help???
I thought it should be an easy one, but i don't know why i didn't get through.....
i used the bubble sort and count the steps of sorting, is this algorithm all right for problem 299?? Thanks in advance! here is my code: (in Java)
[java]
import java.util.*;
class Main{
public static void main ...
i used the bubble sort and count the steps of sorting, is this algorithm all right for problem 299?? Thanks in advance! here is my code: (in Java)
[java]
import java.util.*;
class Main{
public static void main ...
- Sun Jun 20, 2004 5:13 pm
- Forum: Java
- Topic: [ Java ] Useful methods to save time.
- Replies: 12
- Views: 13519
Great Job!
great job!
what could i say, nobody knows how frustrated i used to be facing inputs...
thanx a lot!
what could i say, nobody knows how frustrated i used to be facing inputs...
thanx a lot!