init commit
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
#include <vector>
|
||||
#include <cstdint>
|
||||
|
||||
void process(const std::vector<uint64_t>& from, std::vector<uint64_t>& into, int step) {
|
||||
auto iterf = from.begin();
|
||||
auto itert = into.rbegin();
|
||||
|
||||
while (iterf < from.end() && itert != into.rend()) {
|
||||
*itert += *iterf;
|
||||
++itert;
|
||||
iterf += step;
|
||||
}
|
||||
|
||||
return;
|
||||
}
|
||||
Reference in New Issue
Block a user