2023-09-25 bouzuya/serde-firestore-value の chrono, time feature を追加
bouzuya/serde-firestore-value 。
#[serde(tag = "...")]が動作するよう修正#[serde(with = "option_string_as_timestamp")]の追加#[serde(with = "chrono_date_time_as_timestamp")]の追加 (chronofeature)#[serde(with = "time_offset_date_time_as_timestamp")]の追加 (timefeature)
あとちょっとかな……。
PAST#13 第13回 アルゴリズム実技検定 過去問
- A - メダル
https://atcoder.jp/contests/past202212-open/tasks/past202212_a
- 提出: https://atcoder.jp/contests/past202212-open/submissions/45948008
- 1 回買うと
X円払うのでN円あるならN / X(切り捨て) 回買える - 1 回買うと
Y枚手に入るのでN / X * Y枚手に入る
use proconio::input;
fn main() {
input! {
n: usize,
x: usize,
y: usize,
};
let ans = n / x * y;
println!("{}", ans);
}
今日のコミット。
- rust-atcoder 1 commit
- serde-firestore-value 14 commits
- Update readme
- Add time feature
- Add chrono feature
- Add option_string_as_timestamp
- Refactor firestore_value_serializer mod
- Refactor firestore_array_value_deserializer mod
- Fix firestore_geo_point_value_serializer
- Add crate::Error and remove crate::{de,ser}::Error
- Refactor FirestoreGeoPointValueSerializer
- Remove unused methods from ValueExt
- Refactor FirestoreMapValueSerializer
- Refactor FirestoreArrayValueSerializer
- Fix deserialize_any
- Add mapping table doc