Skip to content

Instantly share code, notes, and snippets.

View laggycomputer's full-sized avatar
🤔
still thinking though

Dante Dam laggycomputer

🤔
still thinking though
View GitHub Profile
@laggycomputer
laggycomputer / main.rs
Created September 5, 2025 03:25
rust valid change
use std::ops::{Add, Sub};
use num_traits::CheckedSub;
#[derive(Default, Copy, Clone, Debug)]
struct Coins {
pub penny: u64,
pub nickel: u64,
pub dime: u64,
pub quarter: u64,