chore: import upstream snapshot with attribution
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
#include "example.h"
|
||||
|
||||
int SumMapValues(const std::unordered_map<int, int> &map) {
|
||||
int sum = 0;
|
||||
for (const auto &[_, val] : map) {
|
||||
sum += val;
|
||||
}
|
||||
return sum;
|
||||
}
|
||||
Reference in New Issue
Block a user