You can not select more than 25 topics Topics must start with a chinese character,a letter or number, can include dashes ('-') and can be up to 35 characters long.

arith.cc 192 B

1234567891011121314
  1. #include "arith.h"
  2. namespace arith {
  3. float sqrt(float x) {
  4. return sqrtf(x);
  5. }
  6. float mean(const std::vector<int>& x) {
  7. return std::accumulate(x.begin(), x.end(), 0) / x.size();
  8. }
  9. }

计算机大作业

Contributors (1)