COMP2013代做、代写C++,Java/Python编程
COMP2013 Data Structures and Algorithms
Programming Assignment 2 Deadline: 10:00am, 22th April, 2024
Instructions
Submit the soft-copy of your program to Learn@PolyU
You can only submit one program file (either C++ or Java or Python),
and the filename must follow the format below.
Language Filename format Filename example
C++ mainStudentID.cpp main10987654d.cpp
Java mainStudentID.java main10987654d.java
Python mainStudentID.py main10987654d.py
- We only accept file types in .cpp, .java, .py. We do not accept file types like .ipynb, .h, etc.
Section 1. Problem
You have n pipes with lengths in meters. You need to connect all these pipes into one pipe. You can
connect two pipes into one at a time. For two pipes with length i and j meters respectively, the cost to
connect them is
热门文章
福特电动车卖不动?只有一半汽车经纪明年想卖纯电动车
春节将至,河南致信返乡人员:期盼你们返乡创业就业,在外学到的知识带回来,献计献策!
新政落地后首周北京二手房日均成交量上涨11%
独行侠首节44分!兰德尔:欧文定下了基调 我们的防守没存在感
周口城投城市运营丨聚焦城市发展 彰显国企担当
东芝退市折射日企创新困局