#include using namespace std; enum {WHITE,GRAY,BLACK}; struct Node { int key; int color; Node* p; int d; int f; //----