This website works better with JavaScript.
首頁
探索
說明
登入
kornerr
/
research-portable-memory
關註
1
收藏
0
複製
0
程式碼
問題管理
0
合併請求
0
版本發佈
0
Wiki
Activity
瀏覽代碼
d
main
Михаил Капелько
9 月之前
父節點
1d5d88e315
當前提交
a9f19bdf41
共有
2 個文件被更改
,包括
6 次插入
和
4 次删除
分割檢視
Diff Options
Show Stats
Download Patch File
Download Diff File
+4
-2
language-C++/Memory/src/Memory.Aux.cpp
+2
-2
language-Swift/Memory/src/Memory.Test.swift
+ 4
- 2
language-C++/Memory/src/Memory.Aux.cpp
查看文件
@@ -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
查看文件
@@ -9,6 +9,6 @@ func test_memory_generateConstPlayfield() -> String {
) {
return "OK: memory_generateConstPlayfield"
}
return "ERR: memory_generateConstPlayfield"
;
return "ERR: memory_generateConstPlayfield"
}
Write
Preview
Loading…
取消
儲存