2022-03-17から1日間の記事一覧
アルゴリズムと数学 演習問題集 091 - How Many Ways? を解いた。 問題: https://atcoder.jp/contests/math-and-algorithm/tasks/math_and_algorithm_br N <= 100 から (a, b, c) の組み合わせを全探索しても 10^6 なので間に合う。素直に三重ループの中で a…
アルゴリズムと数学 演習問題集 091 - How Many Ways? を解いた。 問題: https://atcoder.jp/contests/math-and-algorithm/tasks/math_and_algorithm_br N <= 100 から (a, b, c) の組み合わせを全探索しても 10^6 なので間に合う。素直に三重ループの中で a…