| Title |
User |
Message |
Place |
Date Posted |
| Should Dinic's Algorithm TLE? |
jeffreyxiao |
|
noi06p4 |
Sep 02, 2015 - 11:52:52 pm UTC |
| Re: Whats wrong |
jargon |
Read the question again. Your exact problem has been mentioned before in comments. In the future, please glance over them before asking again. Note that official policy is to ignore these kinds of re... |
ccc02j2 |
Sep 02, 2015 - 11:21:58 pm UTC |
| Whats wrong |
xJoker |
Not sure on what I am getting wrong here, can someone help |
ccc02j2 |
Sep 02, 2015 - 4:10:41 pm UTC |
| Re: ... |
Aaisha |
Is that what you meant by law of exponents, even a little bit? |
ccc09s1 |
Sep 02, 2015 - 7:35:37 am UTC |
| Re: ... |
Aaisha |
Alright thanks |
p156ex13 |
Sep 02, 2015 - 5:25:32 am UTC |
| Re: ... |
wgma00 |
There aren't any issues with your variables. The issue that your having is your code is too slow. This problem actually requires a little bit of insight in order to solve it within the time restrictio... |
ccc09s1 |
Sep 01, 2015 - 5:49:35 pm UTC |
| Re: ... |
wgma00 |
As I mentioned before, your algorithm for determining primes is incorrect. Here's a useful link that should help you. https://en.wikipedia.org/wiki/Primality_test |
p156ex13 |
Sep 01, 2015 - 5:42:08 pm UTC |
| ... |
Aaisha |
Why are there 2 test cases that TLE when my variable types are large enough?? |
ccc09s1 |
Sep 01, 2015 - 7:32:16 am UTC |
| Re: ... |
Aaisha |
Ohh I see, it does print it thanks but I don't get how it's printing that |
p156ex13 |
Sep 01, 2015 - 6:34:38 am UTC |
| Re: ... |
wgma00 |
Sorry it was late so I thoughy of the wrong number. Try 493(17*29). |
p156ex13 |
Aug 30, 2015 - 3:44:31 pm UTC |