week-14-1114405019-洪翊滕 - #1
Open
1114405019 wants to merge 36 commits into
Open
1114405019 wants to merge 36 commits into
1114405019 wants to merge 36 commits into
Conversation
…PU/w7-0409 add homework
…PU/AugustChaoTW-patch-4 Update title of homework document
…PU/week-08 docs: update week 08 README with task instructions and submission sta…
Add evaluation guide, quickstart overview, framework README, and scorecard template for grading the 67 Week 02 student submissions (UVA 100, 118, 272, 299, 490 — sequence/dict/sorting/counting). Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
- Add WEEK08_EXERCISES.md with 5 exercises covering ch.5 (open/encoding, 'x' mode, StringIO, gzip, pickle) using 109–114 enrollment CSVs - Add stu-data/ with 6 years of NUP freshman CSVs - Update README.md to include in-class section with exercise table Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Added a note regarding assignment submission location and grading policy.
…PU/week-08 Add week 09 materials and update assignment submission guidelines
…cessing - Create HOMEWORK.md for Week 10 detailing tasks on data format conversion and visualization. - Update README.md to reflect new topics and in-class examples. - Add in-class examples for CSV reading/writing, JSON handling, XML parsing, encoding, and data statistics. - Implement a timeit decorator example for measuring function execution time.
…PU/wee10 Wee10
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
…PU/week-08 docs: recommend ChillJudge as extra CPE practice resource
…akeup Week 11 was cancelled for the 115/06/12 Generative AI Forum. Week 12 now serves as a combined makeup session. - weeks/week-11/in-class/: R01–R05 + U01 covering classes, @Property, inheritance, special methods, @DataClass, and Die Game simulation - weeks/week-12/in-class/: R01–R04 + U01 covering GCD/divisibility, big-number string handling, binary/bit ops, and 2D matrix search - docs/COURSE_PLAN.md: annotate Week 11 cancellation and Week 12 makeup - weeks/week-11/README.md: add cancellation notice and in-class table - weeks/week-12/README.md: restructure as combined Week 11+12 session Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
…PU/wee12 Add Week 11/12 in-class examples and makeup session plan
Interactive tkinter app: 4 colored lights blink at configurable intervals. Students observe which lights sync (= LCM) and reason about GCD. Features: progress rings, step mode, speed control, sync detection. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Students use this spec with Claude Code / Codex to build the GCD blink visualizer incrementally. Covers 6 stages, prompt engineering tips, grading rubric, and reflection questions on GCD/LCM concepts. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
R01-gcd-divisibility.py → R01-divisibility.py - Focus on digit-sum divisibility by 9 (for 10922) - Focus on alternating-digit-sum divisibility by 11 (for 10929) - GCD demoted to a brief utility reference README: clarify week-12 theme is divisibility + binary + matrix, not GCD/LCM; add problem-to-example mapping table; note U02 is a conceptual warm-up activity, not tied to homework problems. SPEC: add positioning table clarifying U02 is bonus, not required. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Adds consistent ## AI 使用方式 and ## 今天任務 sections to all 18 week README files (weeks 01,02,06,08–18 were missing the section). Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
…PU/wee12 Week 12 in-class materials: divisibility, blink game, AI usage guide
…ework - Add 7 in-class examples (R01-R03, U01-U02, A01-A02) covering Python Cookbook ch7/ch8 organized by Bloom's Taxonomy (Remember→Understand→Apply) - Add HOMEWORK.md: matplotlib visualization tasks using NPU enrollment data (grouped bar chart + county heatmap), with TDD requirements and REPORT.md - Add reference images (V01/V02/V03) in assets/ for homework visual guidance - Update README.md with full course structure and AI usage workflow Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
…PU/week13 Add Week 13 course materials: in-class examples and visualization hom…
Add 5 in_class examples covering testing, debugging, and exceptions, classified by Bloom's taxonomy (R: Remember, U: Understand) to mirror week-04 structure. Update week-14 README to link the new materials. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
…PU/week-08 feat(week-14): add Cookbook ch.14 in-class examples (R/U Bloom split)
…5019) - AI 簡單版(-easy.py)含繁體中文詳細註解 - 手打版(.py)含繁體中文行內註解 - 測試程式(test_*.py)用 subprocess 直接執行手打版驗證輸出 - 各題個別測試 LOG 及合併 test.log(31 passed) Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
解題內容
學號:1114405019
週次:Week 14(測試、除錯與例外 + 綜合練習)
提交檔案(共 4 題)
11349.py11349-easy.pytest_11349.pytest_11349.log11417.py11417-easy.pytest_11417.pytest_11417.log11461.py11461-easy.pytest_11461.pytest_11461.log12019.py12019-easy.pytest_12019.pytest_12019.log測試結果
subprocess直接執行手打版程式,驗證標準輸出test.log)解題說明
M[i][j] == M[n-1-i][n-1-j]且所有元素 ≥ 0gcd(i, j)isqrt(b) - isqrt(a-1),避免浮點誤差🤖 Generated with Claude Code