| Title |
User |
Message |
Place |
Date Posted |
| Helpppp |
vyom |
what is wrong with my code. |
mockccc14j1 |
Jan 02, 2018 - 4:29:31 pm UTC |
| Re: Help |
PEGPro2016 |
Read the question Quote: "Let N be a positive integer consisting of the digits dn...d1 d0...prints its digits in a column, starting with d0. " |
p140ex3 |
Jan 02, 2018 - 3:07:00 pm UTC |
| Help |
43618418 |
My submission works but only gets 10/30 on the judge. |
p140ex3 |
Jan 02, 2018 - 2:09:02 pm UTC |
| Re: What am I doing wrong? |
ZorvyY |
I've used both the bellman ford and spfa algorithms? They should handle negative edge weights... |
graph3p2 |
Jan 02, 2018 - 2:48:14 am UTC |
| Latest answer should work |
43618418 |
I do not see why it doesn't work. Works for problem and own test cases. |
coci084p1 |
Jan 01, 2018 - 10:56:51 pm UTC |
| Re: My code works on the sample |
jargon |
You're using unsigned long longs, which hold up to 2^64 - 1, or about 21 digits. However, the input may contain up to 50 digits. There is no built-in integer type capable of handling numbers of that ... |
ccc96s2 |
Jan 01, 2018 - 8:39:34 pm UTC |
| Re: What am I doing wrong? |
jargon |
Bonus: one case will have edges with negative lengths. |
graph3p2 |
Jan 01, 2018 - 8:35:56 pm UTC |
| What am I doing wrong? |
ZorvyY |
I've tried multiple algorithms, but I keep getting the last test case incorrect. What am I missing? |
graph3p2 |
Jan 01, 2018 - 3:37:55 pm UTC |
| My code works on the sample |
Shahmeer |
I would be very grateful if someone can tell me what is wrong with my code. I works perfectly on the sample test case. I am new to c++ so I am not sure if I am doing something wrong. |
ccc96s2 |
Jan 01, 2018 - 1:08:07 am UTC |
| Helpppppppppppppppppppppp |
vyom |
what's wrong with my code. |
ccc03s1 |
Dec 31, 2017 - 8:05:25 pm UTC |