Module a
Expand description
ยงABC 423 A - Scary Fee
refs: https://atcoder.jp/contests/abc423/tasks/abc423_a
use proconio::input;
fn main() {
input! {
x: usize, c: usize,
}
println!("{}", (x / (1000 + c) * 1000));
}
refs: https://atcoder.jp/contests/abc423/tasks/abc423_a
use proconio::input;
fn main() {
input! {
x: usize, c: usize,
}
println!("{}", (x / (1000 + c) * 1000));
}