就这样了(

This commit is contained in:
shenjack 2024-05-04 01:06:29 +08:00
parent bd306050c1
commit 64975a61e3
Signed by: shenjack
GPG Key ID: 7B1134A979775551
3 changed files with 7 additions and 7 deletions

2
Cargo.lock generated
View File

@ -1831,7 +1831,7 @@ checksum = "e421abadd41a4225275504ea4d6566923418b7f05506fbc9c0fe86ba7396114b"
[[package]]
name = "tswn"
version = "0.1.12"
version = "0.1.13"
dependencies = [
"base16384",
"chrono",

View File

@ -1,7 +1,7 @@
[package]
name = "tswn"
description = "tool shenjack work shop namerena"
version = "0.1.12"
version = "0.1.13"
edition = "2021"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

View File

@ -11,17 +11,17 @@ where
{
// std::max(std::min(x, y), std::min(std::max(x, y), z))
// x.min(y).max(x.max(y).min(z))
if (x < y) {
if (y < z) {
if x < y {
if y < z {
y
} else if (x < z) {
} else if x < z {
z
} else {
x
}
} else if (x < z) {
} else if x < z {
x
} else if (y < z) {
} else if y < z {
z
} else {
y