feat: add initial implementation of Cargo.toml, Cargo.lock, and Solution struct with the_maximum_achievable_x function

This commit is contained in:
SquidSpirit 2025-08-18 18:23:47 +08:00
parent ae4d5b5527
commit 75a12ace37
3 changed files with 20 additions and 0 deletions

View File

@ -0,0 +1,7 @@
# This file is automatically @generated by Cargo.
# It is not intended for manual editing.
version = 4
[[package]]
name = "find_the_maximum_achievable_number"
version = "0.1.0"

View File

@ -0,0 +1,6 @@
[package]
name = "find_the_maximum_achievable_number"
version = "0.1.0"
edition = "2024"
[dependencies]

View File

@ -0,0 +1,7 @@
pub struct Solution;
impl Solution {
pub fn the_maximum_achievable_x(num: i32, t: i32) -> i32 {
num + 2 * t
}
}