Language: C++

#include
#include
#include
#include
#include
#include
#include
#include
using namespace std;
typedef long long LL;

#define _CRT_SECURE_NO_WARNINGS
int N; 
vector l[100010];
template  class Node {
public:
	Node()
		:parent(0), child(0)
	{};
	Node* parent;
	vector child;
	T para;
};
Node nodes[100010];
int main() {
	scanf("%d",&N);
	for (int i = 0; i < N-1; i++) {
		int a, b;
		scanf("%d %d",&a,&b);
		l[a].push_back(b);
		l[b].push_back(a);
	}

	nodes[1].para = 0;
	stack s; s.push(1);
	while (!s.empty()) {
		int n = s.top();
		s.pop();
		for (int i = 0; i < l[n].size();i++) {
			if (nodes[n].parent != &nodes[l[n][i]]) {
				nodes[n].child.push_back(&nodes[l[n][i]]);
				nodes[l[n][i]].parent = &nodes[n];
				nodes[l[n][i]].para = nodes[n].para+1;
				s.push(l[n][i]);
			}
		}
	}

	Node* a = &nodes[N];
	for (int i = 0; i < (nodes[N].para - 1) / 2;i++) {
		a = a->parent;
	}
	int c = 1;
	stack*> ss; ss.push(a);
	while (!ss.empty()) {
		Node* n = ss.top(); ss.pop();
		if (n->child.size() != 0) {
			for (int i = 0; i < n->child.size(); i++) {
				c++;
				ss.push(n->child[i]);
			}
		}
	}

	if (c>=N-c) {
		printf("Snuke\n");
	}
	else {
		printf("Fennec\n");
	}
	return 0;
}

Compiler output:
a.cc:1:9: error: #include expects "FILENAME" or <FILENAME>
    1 | #include
      |         ^
a.cc:2:9: error: #include expects "FILENAME" or <FILENAME>
    2 | #include
      |         ^
a.cc:3:9: error: #include expects "FILENAME" or <FILENAME>
    3 | #include
      |         ^
a.cc:4:9: error: #include expects "FILENAME" or <FILENAME>
    4 | #include
      |         ^
a.cc:5:9: error: #include expects "FILENAME" or <FILENAME>
    5 | #include
      |         ^
a.cc:6:9: error: #include expects "FILENAME" or <FILENAME>
    6 | #include
      |         ^
a.cc:7:9: error: #include expects "FILENAME" or <FILENAME>
    7 | #include
      |         ^
a.cc:8:9: error: #include expects "FILENAME" or <FILENAME>
    8 | #include
      |         ^
a.cc:14:1: error: 'vector' does not name a type
   14 | vector l[100010];
      | ^~~~~~
a.cc:17:14: error: definition provided for explicit instantiation
   17 |         Node()
      |              ^
a.cc:21:9: error: 'vector' does not name a type
   21 |         vector child;
      |         ^~~~~~
a.cc:22:9: error: 'T' does not name a type
   22 |         T para;
      |         ^
a.cc: In constructor 'Node::Node()':
a.cc:18:29: error: class 'Node' does not have any field named 'child'
   18 |                 :parent(0), child(0)
      |                             ^~~~~
a.cc: At global scope:
a.cc:23:2: error: explicit instantiation of non-template type 'Node'
   23 | };
      |  ^
a.cc: In function 'int main()':
a.cc:26:9: error: 'scanf' was not declared in this scope
   26 |         scanf("%d",&N);
      |         ^~~~~
a.cc:30:17: error: 'l' was not declared in this scope
   30 |                 l[a].push_back(b);
      |                 ^
a.cc:34:18: error: 'class Node' has no member named 'para'
   34 |         nodes[1].para = 0;
      |                  ^~~~
a.cc:35:9: error: 'stack' was not declared in this scope
   35 |         stack s; s.push(1);
      |         ^~~~~
a.cc:1:1: note: 'std::stack' is defined in header '<stack>'; this is probably fixable by adding '#include <stack>'
  +++ |+#include <stack>
    1 | #include
a.cc:35:18: error: 's' was not declared in this scope
   35 |         stack s; s.push(1);
      |                  ^
a.cc:39:37: error: 'l' was not declared in this scope
   39 |                 for (int i = 0; i < l[n].size();i++) {
      |                                     ^
a.cc:41:42: error: 'class Node' has no member named 'child'
   41 |                                 nodes[n].child.push_back(&nodes[l[n][i]]);
      |                                          ^~~~~
a.cc:43:64: error: 'class Node' has no member named 'para'
   43 |                                 nodes[l[n][i]].para = nodes[n].para+1;
      |                                                                ^~~~
a.cc:50:39: error: 'class Node' has no member named 'para'
   50 |         for (int i = 0; i < (nodes[N].para - 1) / 2;i++) {
      |                                       ^~~~
a.cc:54:15: error: expected primary-expression before '>' token
   54 |         stack*> ss; ss.push(a);
      |               ^
a.cc:54:17: error: 'ss' was not declared in this scope
   54 |         stack*> ss; ss.push(a);
      |                 ^~
a.cc:57:24: error: 'class Node' has no member named 'child'
   57 |                 if (n->child.size() != 0) {
      |                        ^~~~~
a.cc:58:48: error: 'class Node' has no member named 'child'
   58 |                         for (int i = 0; i < n->child.size(); i++) {
      |                                                ^~~~~
a.cc:60:44: error: 'class Node' has no member named 'child'
   60 |                                 ss.push(n->child[i]);
      |                                            ^~~~~
a.cc:66:17: error: 'printf' was not declared in this scope
   66 |                 printf("Snuke\n");
      |                 ^~~~~~
a.cc:1:1: note: 'printf' is defined in header '<cstdio>'; this is probably fixable by adding '#include <cstdio>'
  +++ |+#include <cstdio>
    1 | #include
a.cc:69:17: error: 'printf' was not declared in this scope
   69 |                 printf("Fennec\n");
      |                 ^~~~~~
a.cc:69:17: note: 'printf' is defined in header '<cstdio>'; this is probably fixable by adding '#include <cstdio>'