cd "/Users/masachika/atcoder/codes/" && /usr/local/bin/g++-8 -O2 -std=c++14 -D_GLIBCXX_DEBUG f.cpp && ./a.out
(base) masas-MacBook-Pro:atcoder masachika$ cd "/Users/masachika/atcoder/codes/" && /usr/local/bin/g++-8 -O2 -std=c++14 -D_GLIBCXX_DEBUG f.cpp && ./a.out
5 6
1 2 0
0 1 1
0 2 2
-3 4 -1
-2 6 3
1 0 1
0 1 2
2 0 2
-1 -4 5
3 -2 4
1 2 4Segmentation fault: 11
(base) masas-MacBook-Pro:codes masachika$ 0 1 2
bash: 0: command not found
(base) masas-MacBook-Pro:codes masachika$ 2 0 2
bash: 2: command not found
(base) masas-MacBook-Pro:codes masachika$ -1 -4 5
bash: -1: command not found
(base) masas-MacBook-Pro:codes masachika$ 3 -2 4
bash: 3: command not found
(base) masas-MacBook-Pro:codes masachika$ 1 2 4
bash: 1: command not found
(base) masas-MacBook-Pro:codes masachika$ cd "/Users/masachika/atcoder/codes/" && /usr/local/bin/g++-8 -O2 -std=c++14 -D_GLIBCXX_DEBUG f.cpp && ./a.out
5 6
1 2 0
0 1 1
0 2 2
-3 4 -1
-2 6 3
1 0 1
0 1 2
2 0 2
-1 -4 5
3 -2 4
1 2 4
Segmentation fault: 11
(base) masas-MacBook-Pro:codes masachika$ 0 1 2
bash: 0: command not found
(base) masas-MacBook-Pro:codes masachika$ 2 0 2
bash: 2: command not found
(base) masas-MacBook-Pro:codes masachika$ -1 -4 5
bash: -1: command not found
(base) masas-MacBook-Pro:codes masachika$ 3 -2 4
bash: 3: command not found
(base) masas-MacBook-Pro:codes masachika$ 1 2 4
bash: 1: command not found
(base) masas-MacBook-Pro:codes masachika$ cd "/Users/masachika/atcoder/codes/" && /usr/local/bin/g++-8 -O2 -std=c++14 -D_GLIBCXX_DEBUG f.cpp && ./a.out
5 6
1 2 0
0 1 1
0 2 2
-3 4 -1
-2 6 3
1 0 1
0 1 2
2 0 2
-1 -4 5
3 -2 4
1 2 4(base) masas-MacBook-Pro:codes masa$ 1 2 0
bash: 1: command not found
(base) masas-MacBook-Pro:codes masachika$ 0 1 1
bash: 0: command not found
(base) masas-MacBook-Pro:codes masachika$ 0 2 2
bash: 0: command not found
(base) masas-MacBook-Pro:codes masachika$ -3 4 -1
bash: -3: command not found
(base) masas-MacBook-Pro:codes masachika$ -2 6 3
bash: -2: command not found
(base) masas-MacBook-Pro:codes masachika$ 1 0 1
bash: 1: command not found
(base) masas-MacBook-Pro:codes masachika$ 0 1 2
bash: 0: command not found
(base) masas-MacBook-Pro:codes masachika$ 2 0 2
bash: 2: command not found
(base) masas-MacBook-Pro:codes masachika$ -1 -4 5
bash: -1: command not found
(base) masas-MacBook-Pro:codes masachika$ 3 -2 4
bash: 3: command not found
(base) masas-MacBook-Pro:codes masachika$ 1 2 4
bash: 1: command not found
(base) masas-MacBook-Pro:codes masachika$ cd "/Users/masachika/atcoder/codes/" && /usr/local/bin/g++-8 -O2 -std=c++14 -D_GLIBCXX_DEBUG f.cpp && ./a.out
5 6
1 2 0
0 1 1
0 2 2
-3 4 -1
-2 6 3
1 0 1
0 1 2
2 0 2
-1 -4 5
3 -2 4
1 2 4(base) masas-MacBook-Pro:codes masa$ 1 2 0
bash: 1: command not found
(base) masas-MacBook-Pro:codes masachika$ 0 1 1
bash: 0: command not found
(base) masas-MacBook-Pro:codes masachika$ 0 2 2
bash: 0: command not found
(base) masas-MacBook-Pro:codes masachika$ -3 4 -1
bash: -3: command not found
(base) masas-MacBook-Pro:codes masachika$ -2 6 3
bash: -2: command not found
(base) masas-MacBook-Pro:codes masachika$ 1 0 1
bash: 1: command not found
(base) masas-MacBook-Pro:codes masachika$ 0 1 2
bash: 0: command not found
(base) masas-MacBook-Pro:codes masachika$ 2 0 2
bash: 2: command not found
(base) masas-MacBook-Pro:codes masachika$ -1 -4 5
bash: -1: command not found
(base) masas-MacBook-Pro:codes masachika$ 3 -2 4
bash: 3: command not found
(base) masas-MacBook-Pro:codes masachika$ 1 2 4
bash: 1: command not found
(base) masas-MacBook-Pro:codes masachika$ cd "/Users/masachika/atcoder/codes/" && /usr/local/bin/g++-8 -O2 -std=c++14 -D_GLIBCXX_DEBUG f.cpp && ./a.out
5 6
1 2 0
0 1 1
0 2 2
-3 4 -1
-2 6 3
1 0 1
0 1 2
2 0 2
-1 -4 5
3 -2 4
1 2 4Segmentation fault: 11
(base) masas-MacBook-Pro:codes masachika$ 0 1 2
bash: 0: command not found
(base) masas-MacBook-Pro:codes masachika$ 2 0 2
bash: 2: command not found
(base) masas-MacBook-Pro:codes masachika$ -1 -4 5
bash: -1: command not found
(base) masas-MacBook-Pro:codes masachika$ 3 -2 4
bash: 3: command not found
(base) masas-MacBook-Pro:codes masachika$ 1 2 4cd "/Users/masachika/atcoder/codes/" && /usr/local/bin/g++-8 -O2 -std=c++14 -D_GLIBCXX_DEBUG f.cpp && ./a.outbash: 1: command not found
(base) masas-MacBook-Pro:codes masachika$ 5 6
bash: 5: command not found
(base) masas-MacBook-Pro:codes masachika$ 1 2 0
bash: 1: command not found
(base) masas-MacBook-Pro:codes masachika$ 0 1 1
bash: 0: command not found
(base) masas-MacBook-Pro:codes masachika$ 0 2 2
bash: 0: command not found
(base) masas-MacBook-Pro:codes masachika$ -3 4 -1
bash: -3: command not found
(base) masas-MacBook-Pro:codes masachika$ -2 6 3
bash: -2: command not found
(base) masas-MacBook-Pro:codes masachika$ 1 0 1
bash: 1: command not found
(base) masas-MacBook-Pro:codes masachika$ 0 1 2
bash: 0: command not found
(base) masas-MacBook-Pro:codes masachika$ 2 0 2
bash: 2: command not found
(base) masas-MacBook-Pro:codes masachika$ -1 -4 5
bash: -1: command not found
(base) masas-MacBook-Pro:codes masachika$ 3 -2 4
bash: 3: command not found
(base) masas-MacBook-Pro:codes masachika$ 1 2 4
bash: 1: command not found
(base) masas-MacBook-Pro:codes masachika$ cd "/Users/masachika/atcoder/codes/" && /usr/local/bin/g++-8 -O2 -std=c++14 -D_GLIBCXX_DEBUG f.cpp && ./a.out
5 6
1 2 0
0 1 1
0 2 2
-3 4 -1
-2 6 3
1 0 1
0 1 2
2 0 2
-1 -4 5
3 -2 4
1 2 4
-1
(base) masas-MacBook-Pro:codes masachika$ cd "/Users/masachika/atcoder/codes/" && /usr/local/bin/g++-8 -O2 -std=c++14 -D_GLIBCXX_DEBUG f.cpp && ./a.out
2 2
-2 2 2
-2 2 -2
2 -2 2
-2 -2 2
-1
(base) masas-MacBook-Pro:codes masachika$ cd "/Users/masachika/atcoder/codes/" && /usr/local/bin/g++-8 -O2 -std=c++14 -D_GLIBCXX_DEBUG f.cpp && ./a.out
5 6
1 2 0
0 1 1
0 2 2
-3 4 -1
-2 6 3
1 0 1
0 1 2
2 0 2
-1 -4 5
3 -2 4
1 2 4
7 7
6 7
5 7
4 7
3 7
3 6
4 6
5 6
6 6
7 6
8 6
9 6
10 6
11 6
12 6
13 6
14 6
14 5
13 5
12 5
11 5
10 5
9 5
8 5
7 5
6 5
5 5
4 5
3 5
3 4
4 4
5 4
6 4
7 4
8 4
9 4
10 4
11 4
12 4
13 4
14 4
14 3
13 3
12 3
11 3
10 3
9 3
8 3
7 3
6 3
5 3
4 3
3 3
14 7
14 8
14 9
14 10
14 11
14 12
14 13
14 14
13 14
12 14
11 14
10 7
9 7
8 7
8 8
7 8
6 8
5 8
4 8
3 8
3 9
4 9
5 9
6 9
7 9
8 9
9 9
10 9
10 8
9 8
6 10
5 10
4 10
3 10
3 11
4 11
5 11
6 11
6 12
5 12
4 12
3 12
3 13
4 13
5 13
6 13
6 14
5 14
4 14
3 14
7 14
8 14
9 14
10 14
-1
(base) masas-MacBook-Pro:codes masachika$ cd "/Users/masachika/atcoder/codes/" && /usr/local/bin/g++-8 -O2 -std=c++14 -D_GLIBCXX_DEBUG f.cpp && ./a.out
5 6
1 2 0
0 1 1
0 2 2
-3 4 -1
-2 6 3
1 0 1
0 1 2
2 0 2
-1 -4 5
3 -2 4
1 2 4
4 4
3 4
3 3
4 3
5 3
6 3
6 4
6 5
6 6
5 6
3 5
3 6
4 6
-1
(base) masas-MacBook-Pro:codes masachika$ cd "/Users/masachika/atcoder/codes/" && /usr/local/bin/g++-8 -O2 -std=c++14 -D_GLIBCXX_DEBUG f.cpp && ./a.out
5 6
1 2 0
0 1 1
0 2 2
-3 4 -1
-2 6 3
1 0 1
0 1 2
2 0 2
-1 -4 5
3 -2 4
1 2 4
4 4
3 4
3 3
4 3
5 3
6 3
6 4
6 5
6 6
5 6
3 5
3 6
4 6
-1
(base) masas-MacBook-Pro:codes masachika$ cd "/Users/masachika/atcoder/codes/" && /usr/local/bin/g++-8 -O2 -std=c++14 -D_GLIBCXX_DEBUG f.cpp && ./a.out
5 6
1 2 0
0 1 1
0 2 2
-3 4 -1
-2 6 3
1 0 1
0 1 2
2 0 2
-1 -4 5
3 -2 4
1 2 4
4 4 0
3 4 0
3 3 0
4 3 0
5 3 0
6 3 0
6 4 0
6 5 0
6 6 0
5 6 0
3 5 0
3 6 0
4 6 0
-1
(base) masas-MacBook-Pro:codes masachika$ cd "/Users/masachika/atcoder/codes/" && /usr/local/bin/g++-8 -O2 -std=c++14 -D_GLIBCXX_DEBUG f.cpp && ./a.out
5 6
1 2 0
0 1 1
0 2 2
-3 4 -1
-2 6 3
1 0 1
0 1 2
2 0 2
-1 -4 5
3 -2 4
1 2 4
4 4 0
3 4 1
3 3 2
4 3 3
5 3 4
6 3 5
6 4 6
6 5 7
6 6 8
5 6 9
3 5 10
3 6 11
4 6 12
-1
(base) masas-MacBook-Pro:codes masachika$ cd "/Users/masachika/atcoder/codes/" && /usr/local/bin/g++-8 -O2 -std=c++14 -D_GLIBCXX_DEBUG f.cpp && ./a.out
5 6
1 2 0
0 1 1
0 2 2
-3 4 -1
-2 6 3
1 0 1
0 1 2
2 0 2
-1 -4 5
3 -2 4
1 2 4
4 4 0
3 4 1
3 3 2
4 3 3
5 3 4
6 3 5
6 4 6
6 5 7
6 6 8
5 6 9
3 5 10
3 6 11
4 6 12
13
(base) masas-MacBook-Pro:codes masachika$ cd "/Users/masachika/atcoder/codes/" && /usr/local/bin/g++-8 -O2 -std=c++14 -D_GLIBCXX_DEBUG f.cpp && ./a.out
6 1
-3 -1 -2
-3 -1 1
-2 -1 2
1 4 -2
1 4 -1
1 4 1
3 1 4
-1
(base) masas-MacBook-Pro:codes masachika$ cd "/Users/masachika/atcoder/codes/" && /usr/local/bin/g++-8 -O2 -std=c++14 -D_GLIBCXX_DEBUG f.cpp && ./a.out
5 6
1 2 0
0 1 1
0 2 2
-3 4 -1
-2 6 3
1 0 1
0 1 2
2 0 2
-1 -4 5
3 -2 4
1 2 4
13
(base) masas-MacBook-Pro:codes masachika$ 