Xiang Huang

Pip Cutting Problem

2023-03-30


Purpose

Problem Statement

You can find the statement through Beebrowd 1798 (You might need to login and search with the problem number). Note that you need to submit you code and report on Canvas for grading. I won’t maintain the class page for the problem. You can just use the public page to test your code. No ChatGPT generated codes are allowed for this task. You can always play it for fun after submitting your work.

Some Ideas

A full solution down to the pseudo-code level will not be provided. You are taking an algorithm course, not a programming course. To some extend, pseudo-code itself is the solution already.

Some hints:

Submission

Beecrowd

  1. Submit it to Beecrowd public page and take a screenshot. Or do output comparison yourself and should me you have the right answer.

Canvas

  1. Beecrowd passing screenshot. If you can not pass the tests, tell me that you cannot pass it in the submission comment.
  2. You source file. I assume it just take one file.
  3. A report on the things you try and your understanding on the problem.
    • It should be something you can read and understand after one year. Write some short introduction to help achieving that goal.
    • What is new in your solution comparing to the lab.
    • What is your understanding about the more space-efficient 1-D array implementation.

Last Note: You are already allowed to use a lot of other resources from previous Lab. No ChatGPT allowed for this task.