mirror of
https://github.com/kmc7468/cs220.git
synced 2025-12-12 21:08:45 +00:00
Merge remote-tracking branch 'upstream/main'
This commit is contained in:
4
.github/workflows/rustdoc.yaml
vendored
4
.github/workflows/rustdoc.yaml
vendored
@@ -17,7 +17,7 @@ jobs:
|
||||
|
||||
steps:
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@v3
|
||||
uses: actions/checkout@v4.1.1
|
||||
|
||||
- name: Install Rustup
|
||||
run: if ! command -v rustup &>/dev/null; then (curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y); fi
|
||||
@@ -29,7 +29,7 @@ jobs:
|
||||
run: source "$HOME/.cargo/env"; cargo doc --all
|
||||
|
||||
- name: Deploy Docs
|
||||
uses: peaceiris/actions-gh-pages@364c31d33bb99327c77b3a5438a83a357a6729ad # v3.4.0
|
||||
uses: peaceiris/actions-gh-pages@v4.0.0
|
||||
with:
|
||||
github_token: ${{ secrets.GITHUB_TOKEN }}
|
||||
publish_branch: gh-pages
|
||||
|
||||
@@ -9,6 +9,7 @@
|
||||
* You may use [Why3 in your browser](https://www.why3.org/try/).
|
||||
* Clicking `Verify` button at the top will open a panel on the right side.
|
||||
* For each task in the panel (e.g. `loop invariant preservation`), you can right-click it and run the prover.
|
||||
* Important: The prover might not be able to verify the correct solution if the number of steps is too small. Make sure to test with 1000~5000 steps.
|
||||
* Fill in `TODO`s until the prover can verify all tasks, notified with green check-marks.
|
||||
|
||||
* To submit your solution, run `./scripts/submit.sh` and submit `assignment05.zip` in the `target` directory to gg.
|
||||
|
||||
@@ -25,7 +25,7 @@ use std::ops::*;
|
||||
///
|
||||
/// The `sign_extension()`, `two_complement()`, and `truncate()` are non-mandatory helper methods.
|
||||
///
|
||||
/// For testing and debugging pruposes, the `Display` trait is implemented for you, which shows the
|
||||
/// For testing and debugging purposes, the `Display` trait is implemented for you, which shows the
|
||||
/// integer in hexadecimal form.
|
||||
#[derive(Debug, Clone)]
|
||||
pub struct BigInt {
|
||||
|
||||
@@ -9,7 +9,7 @@ use itertools::Itertools;
|
||||
///
|
||||
/// Returns `true` if the length of sequence is less or equal than 2.
|
||||
///
|
||||
/// # Exmample
|
||||
/// # Example
|
||||
///
|
||||
/// ```
|
||||
/// use cs220::assignments::assignment09::small_exercises::*;
|
||||
|
||||
Reference in New Issue
Block a user