-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcorrect_input_format.html
More file actions
46 lines (44 loc) · 1.41 KB
/
correct_input_format.html
File metadata and controls
46 lines (44 loc) · 1.41 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
<!DOCTYPE html>
<html>
<head>
<title>Input format</title>
</head>
<body>
<h1>
Correct input format.
</h1>
<h2>
<p>
Your input format has to contain all vertices and the edges.<br>
In first line write V and E.<br>
V is the number vertices and E is the number edges.<br>
The following n lines are going to contain the xyz coordinates.<br>
example's :<br>
<h3> 87 -20.44 10.501 </h3>
<h3> 6.1 0.244 99.7 </h3>
<h3> 12.5 -24 13.2 </h3>
The following k lines are going to contain the edges.
i-th line is number of the vertices that i-th edge connects them.(zero base)
example's :
<h3>0 5</h3>
<h3>8 9</h3>
<h3>0 15</h3>
here is an example of a correct input :
<h3>
4 6<br>
0 0 0<br>
10 0 0<br>
0 10 0<br>
0 0 10<br>
0 1<br>
0 2<br>
0 3<br>
1 2<br>
1 3<br>
2 3
</h3>
</p>
<a href = "./index.html">GO BACK!</a>
</h2>
</body>
</html>