-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(exercises): made some changes to ex00, started work on ex01
- Loading branch information
1 parent
cdf3d37
commit 2fc763e
Showing
5 changed files
with
171 additions
and
2 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains 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
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
[package] | ||
name = "ex01" | ||
version = "0.1.0" | ||
edition = "2021" | ||
|
||
[dependencies] |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,159 @@ | ||
#[allow(dead_code)] | ||
// TODO: | ||
// > What is the main purpose of a Blockchain technologies? | ||
// > | ||
// > - a) To create digital currencies. | ||
// > - b) To achieve mathematical consensus in a narrative. | ||
// > - c) To replace traditional banking systems. | ||
// > | ||
fn question_0() -> char { | ||
todo!() | ||
} | ||
|
||
#[allow(dead_code)] | ||
// TODO: | ||
// > In the context of the high school marble problem, what does "consensus" mean? | ||
// > | ||
// > | ||
// > - a) When players finish the game. | ||
// > - b) When multiple parties come to an agreement on the state of the game. | ||
// > - c) When one player convinces others to give up their marbles. | ||
// > | ||
fn question_1() -> char { | ||
todo!() | ||
} | ||
|
||
#[allow(dead_code)] | ||
// TODO: | ||
// > | ||
// > | ||
// > | ||
// > - a) | ||
// > - b) | ||
// > - c) | ||
// > | ||
fn question_2() -> char { | ||
todo!() | ||
} | ||
|
||
#[allow(dead_code)] | ||
// TODO: | ||
// > | ||
// > | ||
// > | ||
// > - a) | ||
// > - b) | ||
// > - c) | ||
// > | ||
fn question_3() -> char { | ||
todo!() | ||
} | ||
|
||
#[allow(dead_code)] | ||
// TODO: | ||
// > | ||
// > | ||
// > | ||
// > - a) | ||
// > - b) | ||
// > - c) | ||
// > | ||
fn question_4() -> char { | ||
todo!() | ||
} | ||
|
||
#[allow(dead_code)] | ||
// TODO: | ||
// > | ||
// > | ||
// > | ||
// > - a) | ||
// > - b) | ||
// > - c) | ||
// > | ||
fn question_5() -> char { | ||
todo!() | ||
} | ||
|
||
#[allow(dead_code)] | ||
// TODO: | ||
// > | ||
// > | ||
// > | ||
// > - a) | ||
// > - b) | ||
// > - c) | ||
// > | ||
fn question_6() -> char { | ||
todo!() | ||
} | ||
|
||
#[allow(dead_code)] | ||
// TODO: | ||
// > | ||
// > | ||
// > | ||
// > - a) | ||
// > - b) | ||
// > - c) | ||
// > | ||
fn question_7() -> char { | ||
todo!() | ||
} | ||
|
||
#[allow(dead_code)] | ||
// TODO: | ||
// > | ||
// > | ||
// > | ||
// > - a) | ||
// > - b) | ||
// > - c) | ||
// > | ||
fn question_8() -> char { | ||
todo!() | ||
} | ||
|
||
#[allow(dead_code)] | ||
// TODO: | ||
// > | ||
// > | ||
// > | ||
// > - a) | ||
// > - b) | ||
// > - c) | ||
// > | ||
fn question_9() -> char { | ||
todo!() | ||
} | ||
|
||
#[allow(dead_code)] | ||
// TODO: | ||
// > | ||
// > | ||
// > | ||
// > - a) | ||
// > - b) | ||
// > - c) | ||
// > | ||
fn question_10() -> char { | ||
todo!() | ||
} | ||
|
||
#[allow(dead_code)] | ||
// TODO: | ||
// > | ||
// > | ||
// > | ||
// > - a) | ||
// > - b) | ||
// > - c) | ||
// > | ||
fn question_11() -> char { | ||
todo!() | ||
} | ||
|
||
#[cfg(test)] | ||
mod tests { | ||
use super::*; | ||
} |