PrevNext
Rare
 0/5

Euler's Formula

Author: Benjamin Qi

A formula for finding the number of faces in a planar graph.

Introduction

This section is not complete.

Feel free to file a request to complete this using the "Contact Us" button.

Example 1

StatusSourceProblem NameDifficultyTagsSolutionURL
DMOJVery Hard

This section is not complete.

Feel free to file a request to complete this using the "Contact Us" button.

Example 2

StatusSourceProblem NameDifficultyTagsSolutionURL
PlatVery HardExternal Sol

This section is not complete.

Feel free to file a request to complete this using the "Contact Us" button.
1int N, h[750][750];
2ll ans;
3vector<pair<int,pi>> v;
4
5int hsh(int a, int b) {
6 return N*a+b;
7}
8
9const int xd[4] = {1,0,-1,0}, yd[4] = {0,1,0,-1};
10

Problems

StatusSourceProblem NameDifficultyTagsSolutionURL
KattisVery HardView Solution
CFVery HardCheck CF
CFVery HardCheck CF

Module Progress:

Join the USACO Forum!

Stuck on a problem, or don't understand a module? Join the USACO Forum and get help from other competitive programmers!

Give Us Feedback on Euler's Formula!

PrevNext