3 ms·
C++ pow() is a function of doubles, not ints. You can't define it in terms of std::accumulate.
by ken 6y ago
C++ pow() is a function of doubles, not ints. You can't define it in terms of std::accumulate.
- Koshkin 6y agoThe integers are a subset of the reals, so the rule still should hold.