Update
This commit is contained in:
1 parent
99713e873c
commit
11946f155d
1 file changed
+2
@@ -17,6 +17,7 @@ fill_in(multimap_t map)
|
|||||||
multimap_set_at(map, i, i*i*i);
|
multimap_set_at(map, i, i*i*i);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Count the number of occurence of a key
|
||||||
static int
|
static int
|
||||||
count(multimap_t map, int key)
|
count(multimap_t map, int key)
|
||||||
{
|
{
|
||||||
@@ -29,6 +30,7 @@ count(multimap_t map, int key)
|
|||||||
return n;
|
return n;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Print the map in details
|
||||||
static void
|
static void
|
||||||
print(multimap_t map)
|
print(multimap_t map)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in new issue
Block a user