| Title |
User |
Message |
Place |
Date Posted |
| Re: Why is my code incorrect? |
magicalsoup |
Change print(round(pay, 2)) to print("%.2f" %(round(pay, 2))), because as in the sample, you are to output 2 decimal places, were if the answer was 4.0, you only outputted 4.0, not 4.00. |
p108ex9 |
Aug 19, 2019 - 3:35:06 pm UTC |
| Why is my code incorrect? |
Axiumin |
I've checked my code, and it works with the first input (as found with ss3happy1). What should I do to fix it? |
p108ex9 |
Aug 17, 2019 - 5:42:49 pm UTC |
| Re: mod 10,007? |
magicalsoup |
that means you output your answer mod 10007. In other words, if your answer was 10007, you output 0. By modding a number, you get the remainder. As such, if you do 10 mod 5, you get 0, or 10 mod 7, yo... |
dp1p4 |
Aug 15, 2019 - 6:03:12 pm UTC |
| Is this it ? |
AlexAlghisi |
N-45° E-135° S-135° W-45° ??? |
p108ex8 |
Aug 15, 2019 - 9:36:59 am UTC |
| mod 10,007? |
xeon |
what does it mean by that |
dp1p4 |
Aug 14, 2019 - 8:14:21 pm UTC |
| fuzzy problem |
LucianIlea |
Beautiful problem but broken by a fuzzy composer. |
ioi9522 |
Aug 11, 2019 - 4:09:22 pm UTC |
| Output format |
LucianIlea |
There is no explanation about the way to write the solution in case there are more than one found numbers. That was the cause for I got some WA. Each number should be written on a new line. |
p154ex7 |
Aug 07, 2019 - 10:12:07 am UTC |
| ... |
baoloi2002 |
5 6 1 1 2 3 2 1 4 3 4 2 5 4 5 5 output ? |
coci096p5 |
Aug 06, 2019 - 2:44:46 am UTC |
| Re: help |
magicalsoup |
if you see your most recent submission, it seems that you are not outputting anything in some of the testcases, I advice you to look into that. |
ccc10s1 |
Aug 03, 2019 - 9:20:09 pm UTC |
| help |
loltroll21 |
I have created many test cases, and i cant seem to find out why i keep getting either WA, or RE. Any help would be appreciated. |
ccc10s1 |
Jul 28, 2019 - 10:17:52 pm UTC |