Skip to content

Conversation

@MUFFANUJ
Copy link

Added example for random input and random output generation.

Added following files

  1. generator.py - generates input file for question, with first line as size of array and other lines as elements of array
  2. solution.py - instructor solution for generation of output for evaluation.
  3. config.json - configuration of problem statement as well as testcases

In next PR, I will try to add documentation related to question generation as well as correct bifurcations of question types.

Signed-off-by: MUFFANUJ <anujsinghhero292@gmail.com>
@MUFFANUJ
Copy link
Author

Screenshot 2024-02-17 at 4 30 45 AM Successful submission of above example. @bmcutler @MasterOdin

@@ -0,0 +1,16 @@
def generate_total_sum(arr):
sum = 0

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can't we just do sum(arr) rather than this?

@@ -0,0 +1,16 @@
def generate_total_sum(arr):
sum = 0

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

here too

@github-project-automation github-project-automation bot moved this from Seeking Reviewer to Work in Progress in Submitty Development Mar 28, 2025
@bmcutler bmcutler closed this Jun 16, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

3 participants