Skip to content

update: 添加问题“3577.统计计算机解锁顺序排列数”的代码和题解#1213

Merged
LetMeFly666 merged 21 commits intomasterfrom
3577
Dec 10, 2025
Merged

update: 添加问题“3577.统计计算机解锁顺序排列数”的代码和题解#1213
LetMeFly666 merged 21 commits intomasterfrom
3577

Conversation

@LetMeFly666
Copy link
Copy Markdown
Owner

By newSolution.py using GH on Windows | close: #1212

cpp - AC,100.00%,35.62%
py - AC,74.58%,23.73%
go - AC,100.00%,25.00%

原来0号机就是第一个,只是要求不同的解锁顺序方式(不是求可行的编号方式)
java - AC,48.00%,36.00%
Copilot AI review requested due to automatic review settings December 10, 2025 15:20
@LetMeFly666 LetMeFly666 added the 题解 Solution label Dec 10, 2025
@LetMeFly666 LetMeFly666 self-assigned this Dec 10, 2025
@LetMeFly666
Copy link
Copy Markdown
Owner Author

这次不着急review喽 @copilot

Copy link
Copy Markdown
Contributor

Copilot AI commented Dec 10, 2025

@LetMeFly666 I've opened a new pull request, #1214, to work on those changes. Once the pull request is ready, I'll request review from you.

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR adds a new LeetCode problem solution for problem #3577 "统计计算机解锁顺序排列数" (Count the Number of Computer Unlocking Permutations) with implementations in five programming languages (Python, Rust, Java, Go, and C++).

Key Changes:

  • Added solution implementations in Python, Rust, Java, Go, and C++
  • Updated configuration files to skip/track problem 3577
  • Added problem entry to README.md documentation with links to blog posts and solutions

Reviewed changes

Copilot reviewed 11 out of 11 changed files in this pull request and generated 3 comments.

Show a summary per file
File Description
tryGoPy/ReLeetcode/recentPerDay.py Added problem 3577 to the skip list
tryGoPy/ReLeetcode/processHistory.py Added multiple problem IDs (including 3577) to the history tracking list
Solutions/Other-English-LearningNotes-SomeWords.md Marked "handkerchief" for second review with green highlighting
README.md Added new table row for problem 3577 with links to problem, solution, CSDN, and LeetCode
Codes/lib.rs Updated include statement to reference new Rust solution file
Codes/3577-count-the-number-of-computer-unlocking-permutations.rs New Rust implementation calculating permutations with modulo arithmetic
Codes/3577-count-the-number-of-computer-unlocking-permutations.py New Python implementation calculating permutations with modulo arithmetic
Codes/3577-count-the-number-of-computer-unlocking-permutations.java New Java implementation calculating permutations with modulo arithmetic
Codes/3577-count-the-number-of-computer-unlocking-permutations.go New Go implementation calculating permutations with modulo arithmetic
Codes/3577-count-the-number-of-computer-unlocking-permutations.cpp New C++ implementation calculating permutations with modulo arithmetic

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread Codes/3577-count-the-number-of-computer-unlocking-permutations.java Outdated
Comment thread Codes/3577-count-the-number-of-computer-unlocking-permutations.go Outdated
Comment thread Codes/3577-count-the-number-of-computer-unlocking-permutations.cpp
Copy link
Copy Markdown
Contributor

Copilot AI commented Dec 10, 2025

@LetMeFly666 I've opened a new pull request, #1215, to work on those changes. Once the pull request is ready, I'll request review from you.

Copy link
Copy Markdown
Contributor

Copilot AI commented Dec 10, 2025

@LetMeFly666 I've opened a new pull request, #1216, to work on those changes. Once the pull request is ready, I'll request review from you.

@LetMeFly666
Copy link
Copy Markdown
Owner Author

fine, see #1215 #1216

Co-authored-by: LetMeFly666 <56995506+LetMeFly666@users.noreply.github.com>
@LetMeFly666 LetMeFly666 reopened this Dec 10, 2025
Copilot AI and others added 4 commits December 10, 2025 15:37
Co-authored-by: LetMeFly666 <56995506+LetMeFly666@users.noreply.github.com>
Co-authored-by: LetMeFly666 <56995506+LetMeFly666@users.noreply.github.com>
Co-authored-by: LetMeFly666 <56995506+LetMeFly666@users.noreply.github.com>
Co-authored-by: LetMeFly666 <56995506+LetMeFly666@users.noreply.github.com>
Copilot AI and others added 6 commits December 10, 2025 15:42
Co-authored-by: LetMeFly666 <56995506+LetMeFly666@users.noreply.github.com>
Make MOD constant final in Java solution
Co-authored-by: LetMeFly666 <56995506+LetMeFly666@users.noreply.github.com>
Co-authored-by: LetMeFly666 <56995506+LetMeFly666@users.noreply.github.com>
…-one

Change MOD3577 from var to const in Go solution
@LetMeFly666 LetMeFly666 merged commit 3423ebe into master Dec 10, 2025
1 check passed
@LetMeFly666 LetMeFly666 deleted the 3577 branch December 10, 2025 15:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

题解 Solution

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[newSolution]Who can add 1 more problem of LeetCode 3577

3 participants