Merge remote-tracking branch 'upstream/main'

This commit is contained in:
static
2024-10-28 05:41:06 +00:00
4 changed files with 5 additions and 4 deletions

View File

@@ -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

View File

@@ -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.

View File

@@ -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 {

View File

@@ -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::*;