| 256 | } |
| 257 | |
| 258 | int64 Product(absl::Span<const int64> xs) { |
| 259 | return std::accumulate(xs.begin(), xs.end(), static_cast<int64>(1), |
| 260 | std::multiplies<int64>()); |
| 261 | } |
| 262 | |
| 263 | absl::InlinedVector<std::pair<int64, int64>, 8> CommonFactors( |
| 264 | absl::Span<const int64> a, absl::Span<const int64> b) { |