19 lines
370 B
C
19 lines
370 B
C
#include "epidemic_engine.h"
|
|
|
|
int * count(const int epidemic_grid[10][20], int counter[4])
|
|
{
|
|
for (int i = 0; i < 10; i ++)
|
|
{
|
|
for (int j = 0; j < 20; j ++)
|
|
{
|
|
counter[epidemic_grid[i][j]] ++;
|
|
}
|
|
}
|
|
return counter;
|
|
}
|
|
|
|
int can_become_infected(const int epidemic_grid[10][20], const int i, const int j)
|
|
{
|
|
|
|
return 0;
|
|
} |