{"id":18435915,"url":"https://github.com/parallel101/hw02","last_synced_at":"2025-10-27T12:31:11.017Z","repository":{"id":38395483,"uuid":"438159201","full_name":"parallel101/hw02","owner":"parallel101","description":"高性能并行编程与优化 - 第02讲的回家作业","archived":false,"fork":false,"pushed_at":"2024-08-13T14:08:27.000Z","size":5,"stargazers_count":14,"open_issues_count":64,"forks_count":117,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-02-04T04:54:27.806Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/parallel101.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-12-14T07:33:21.000Z","updated_at":"2024-09-30T09:01:17.000Z","dependencies_parsed_at":"2024-12-16T03:06:56.433Z","dependency_job_id":"4eb3ed03-d6eb-4347-953a-1ad7973915ed","html_url":"https://github.com/parallel101/hw02","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/parallel101%2Fhw02","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/parallel101%2Fhw02/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/parallel101%2Fhw02/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/parallel101%2Fhw02/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/parallel101","download_url":"https://codeload.github.com/parallel101/hw02/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":238495726,"owners_count":19481913,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-06T06:09:41.588Z","updated_at":"2025-10-27T12:31:10.673Z","avatar_url":"https://github.com/parallel101.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 高性能并行编程与优化 - 第0x讲的回家作业\n\n通过 pull request 提交作业。会批分数，但是：\n\n没有结业证书，回家作业仅仅作为评估学习效果和巩固知识的手段，不必为分数感到紧张 :)\n量力而行，只要能在本课中，学到昨天的自己不懂的知识，就是胜利，没必要和别人攀比。\n注意不要偷看别人的作业哦！\n\n- 课件：https://github.com/parallel101/course\n- 录播：https://space.bilibili.com/263032155\n\n作业提交时间不限 :) 即使完结了还想交的话我也会看的~ 不过最好在下一讲开播前完成。\n\n- 如何开 pull request：https://zhuanlan.zhihu.com/p/51199833\n- 如何设置 https 代理：https://www.jianshu.com/p/b481d2a42274\n\n## 评分规则\n\n- 完成作业基本要求 50 分（详见下方\"作业要求\"）\n- 能够在 PR 描述中用自己的话解释 25 分\n- 代码格式规范、能够跨平台 5 分\n- 有自己独特的创新点 20 分\n- 明显抄袭现象 -100 分\n\n## 作业要求\n\n修改 main.cpp，改良其中的双链表类 `List`：\n\n- 避免函数参数不必要的拷贝 5 分\n- 修复智能指针造成的问题 10 分\n- 改用 `unique_ptr\u003cNode\u003e` 10 分\n- 实现拷贝构造函数为深拷贝 15 分\n- 说明为什么可以删除拷贝赋值函数 5 分\n- 改进 `Node` 的构造函数 5 分\n\n并通过 `main()` 函数中的基本测试。\n\n## 关于内卷\n\n如果你把 List 改成了基于迭代器的，或是作为模板 `List\u003cint\u003e`：\n只要是在 **满足作业要求的基础** 上，这是件好事！\n老师会酌情加分，视为“独特的创新点”，但最多不超过 20 分。\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fparallel101%2Fhw02","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fparallel101%2Fhw02","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fparallel101%2Fhw02/lists"}