Михаил Капелько pirms 7 mēnešiem
vecāks
revīzija
a9f19bdf41
2 mainītis faili ar 6 papildinājumiem un 4 dzēšanām
  1. +4
    -2
      language-C++/Memory/src/Memory.Aux.cpp
  2. +2
    -2
      language-Swift/Memory/src/Memory.Test.swift

+ 4
- 2
language-C++/Memory/src/Memory.Aux.cpp Parādīt failu

@@ -7,8 +7,10 @@ std::map<int, int> memory_generateConstPlayfield(
std::map<int, int> idGroups;
int id = 0;
for (int gid = 0; gid < n; ++gid) {
idGroups[id++] = gid;
idGroups[id++] = gid;
idGroups[id] = gid;
id += 1;
idGroups[id] = gid;
id += 1;
}
return idGroups;
}

+ 2
- 2
language-Swift/Memory/src/Memory.Test.swift Parādīt failu

@@ -9,6 +9,6 @@ func test_memory_generateConstPlayfield() -> String {
) {
return "OK: memory_generateConstPlayfield"
}
return "ERR: memory_generateConstPlayfield";
return "ERR: memory_generateConstPlayfield"
}

Notiek ielāde…
Atcelt
Saglabāt