Code Monkey home page Code Monkey logo

hw02's Introduction

高性能并行编程与优化 - 第0x讲的回家作业

通过 pull request 提交作业。会批分数,但是:

没有结业证书,回家作业仅仅作为评估学习效果和巩固知识的手段,不必为分数感到紧张 :) 量力而行,只要能在本课中,学到昨天的自己不懂的知识,就是胜利,没必要和别人攀比。 注意不要偷看别人的作业哦!

作业提交时间不限 :) 即使完结了还想交的话我也会看的~ 不过最好在下一讲开播前完成。

评分规则

  • 完成作业基本要求 50 分(详见下方"作业要求")
  • 能够在 PR 描述中用自己的话解释 25 分
  • 代码格式规范、能够跨平台 5 分
  • 有自己独特的创新点 20 分
  • 明显抄袭现象 -100 分

作业要求

修改 main.cpp,改良其中的双链表类 List

  • 避免函数参数不必要的拷贝 5 分
  • 修复智能指针造成的问题 10 分
  • 改用 unique_ptr<Node> 10 分
  • 实现拷贝构造函数为深拷贝 15 分
  • 说明为什么可以删除拷贝赋值函数 5 分
  • 改进 Node 的构造函数 5 分

并通过 main() 函数中的基本测试。

关于内卷

如果你把 List 改成了基于迭代器的,或是作为模板 List<int>: 只要是在 满足作业要求的基础 上,这是件好事! 老师会酌情加分,视为“独特的创新点”,但最多不超过 20 分。

hw02's People

Contributors

archibate avatar reedthink avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.