Homework 1

Posted hotarufuni

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了Homework 1相关的知识,希望对你有一定的参考价值。

Briefly describe an error from your past projects that you have recently completed or an error from other projects which impress you most.

State the reason, impact of the error and how did you find it.

 

As I had made a string of mistakes in my projects, the most impressive error is the one during an ACM simulation when I was a new member.

I tried the test case many times and the answer is always right, so I submit my code again and again. But I always get an wrong answer feedback. At last I input several test cases and get the wrong answer from the second case to the last case. The fault is that I use “memset” to clear an array, but I put it out of the loop statement, which made it useless after the first case, and the array will not be cleared, and the data would be wrong and get an wrong answer.

I move it into the loop again and Accepted. It is a small low-grade mistake, but it wastes my precious time to solve other questions.

以上是关于Homework 1的主要内容,如果未能解决你的问题,请参考以下文章

ECE 425/525 Digital Signal Processing

CSCI 1100 程序讲解

review what i studied `date` - 2017-4-17

Homework 1.py

Homework 2

homework2