|
- #include <map>
- #include "Memory.h"
-
- std::map<int, int> memory_generateConstPlayfield(
- int n
- ) {
- std::map<int, int> idGroups;
- auto id = 0;
- for (int gid = 0; gid < n; ++gid) {
- idGroups[id] = gid;
- id += 1;
- idGroups[id] = gid;
- id += 1;
- }
- return idGroups;
- }
|