Skip to content
#

competitive-programming

Here are 2,787 public repositories matching this topic...

kiritofeng
kiritofeng commented Aug 16, 2020

Currently, the bridged interactive grader will raise a CompileError if the interactor fails to compile. This is incorrect, and should be an InternalError instead.

Additionally, check_result will swallow any IEs if the submission's result_flag is non-zero.
This can lead to the case where the interactor crashes, and the submission reports an RTE/IR due to being unable to read from stdin.

fukatani
fukatani commented Oct 21, 2019

As you can see here, half of download_history.py is not covered by unittests.
At least, I want to test DownloadHistory.get fucntion.

We can test this module by 3 steps.

  • Clear utils.cache_dir / 'download-history.jsonl'.
  • Execute oj d, or directly instanciate DownloadHistory and
cpeditor
coder3101
coder3101 commented Aug 1, 2020

There are two sets of refactoring that can be performed on our codebase to make them more efficient and utilize the full potential offered by Qt Framework. See below:

  1. There is no need to explicitly call delete on widgets that are allocated on Heap as long as in their constructor we have specified the parent widget for it. Consider this example below:
class Widget: public QObject

Improve this page

Add a description, image, and links to the competitive-programming topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the competitive-programming topic, visit your repo's landing page and select "manage topics."

Learn more

You can’t perform that action at this time.