Graph Theory

View as PDF

Submit solution

Points: 1
Time limit: 2.0s
Memory limit: 64M

Problem type

Given a graph of N nodes and M edges, print Graph Theory!

Input Specification

The first line will contain two integers N, M (1 \le N \le M \le 5).

The next M lines will each contain two integers, a, b (1 \le a, b \le N).

Output Specification

Print Graph Theory!

Sample Input

2 2
1 2
2 2

Sample Output

Graph Theory!


  • -3
    Dmoj  commented on Dec. 7, 2019, 9:12 p.m.

    1: Why does this question exist? 2: Somehow, this took me 5 trys to AC