Please consider offering answers and suggestions to help other students!
And if you fix a problem by following a suggestion here,
it would be great if other interested students could see a short
"Great, fixed it!" followup message.
i passed some problems, but decided to make them look much more readable and add comments since i did not add any while testing for its correctness.
i tried to submit them again but i got NO OUTPUT as a result, does that mean i somehow broke my code w...
https www.youtube.com ly i - i e s a e t e o k m c o e r a a l n d o m n s s n e i d d n t a d a y w i e t s i g f r i s c r e t e s i t i d t u m t t e g i u o O O T U s a r s l , d e h t m a o e o r k y c d ...
ANONYMOUS wrote
Please read the project information
There are hidden test cases. Similar to the mid-semester test, there are secret test cases which you cannot download. If you get "WRONG ANSWER" or another incorrect verdict despite passing the sampl...
jumpy.py
My code matches the problem's expected output and passes the fuzzy tests, but DOMJudge still marks it wrong. Could there be formatting issues or hidden edge cases I m missing? Please advise
I have already got the correct answer for a question but I think I have a better version of the answer which is much less lines of code, am I still allowed to test and resubmit my code to see if it runs?
If you are struggling to solve the question, and properly analyzing the worst case is part of solving, then I suggest moving on to trying different problems. You can get 93 points without solving flip.
ANONYMOUS wrote
the full code is
symbols '.', 'x'
diagram random.choice(symbols) for in range(num columns) for in range(num rows)
it is completely random on what the grid would look like for the two colours, and i dont know how to 'really...
If you did a 1000x1000 grid, but it was all one colour, then the program would probably run very quickly. In the same way, you can try to generate a test that would cause your program to run the maximum amount of computations (worst case), and see if...
Hi,
I have been using DomJudge and have noticed that it must be using an older version of Python as it does not recognise the "match case" syntax (added in 3.10).
Which version of Python is used?
Thanks
by locally, do you mean feeding the program a file with the 1000x1000 grid data? i am using diagram random.choice(symbols) for in range(num columns) for in range(num rows) to generate the 1000x1000 grid when i test my code, but i didnt get ...
ANONYMOUS wrote
Your code is run on our sever. It's the same server that all submissions are run on. There are no special command line options we use to run your code.
I suspect that you are not testing the worst case inputs locally. You are probably ...
Hi there It's me with my lecture questions again. I tried rewatching the lectures and going to a lab facilitator to ask but they were confused too so I have a few questions this time
1. In the Ford-Fulkerson problem slide (slide 18) is it the case t...
is it possible that my device's specs are interfering with domjudge's results?
what i meant is that even though the time taken for traversing the maximum 1000x1000 grid done on my device is within the given time limit, when i run it on domjudge it end...
ANONYMOUS wrote
As you have identified, the specification says "8-connected region". 8-connected is the standard term for referring to the 8 pixels surrounding a given pixel, and so does include diagonals. See (https en.wikipedia.org wiki Pixel con...
ANONYMOUS wrote
Reasonable input times are accounted for in the runtime limits, and should rarely if ever be the dominating factor. The time limits and bounds are set so as to distinguish algorithms with acceptable time complexities from those that a...