#include #include "ezwin.h" using namespace std ; enum color MyFunc0(const int x, const int y) { if (x%2 == 0) return Blue ; else return Cyan ; } enum color MyFunc1(const int x, const int y) { if (x>0 && y>0) return Blue ; else return Yellow ; } enum color MyFunc2(const int x, const int y) { if (abs(x-y) < 2) return Red ; else return Green ; } enum color MyFunc3(const int x, const int y) { return Black ; } // Do not edit below this line ! enum color (*fTab[])(const int, const int) = { MyFunc0, MyFunc1, MyFunc2, MyFunc3, NULL } ;