文件名称:uva10112
介绍说明--下载内容均来自于网络,请自行研究使用
uva 10112
1. 用三個 for 迴圈跑過任三點的組合
2. 再用一個 for 迴圈跑這三點以外的其他點
3. 如果第四點與選定三點之任兩點所圍三角形面積合,等於選定三點的面積,代表第四點在三角形內
ex : △abc = △abd + △acd + △bcd , d在△內
4. 如果符合條件,把面積存起來,用於之後比較面積大小
5. 面積大的取代面積小的
6. 印出面積最大三角形-Passing any combination of uva 10112 1. Three in three for loop 2 and then a for loop to run other point other than these three points 3. If any of the three points of fourth spot with a selected triangle bounded covering an area equal to three of the area selected, representing the fourth point inside the triangle ex: △ abc = △ abd+ △ acd+ △ bcd, d in △ 4. If eligible, the area to save up for later comparison 5. A large area the size of a small area of 6. replace print the largest triangle
1. 用三個 for 迴圈跑過任三點的組合
2. 再用一個 for 迴圈跑這三點以外的其他點
3. 如果第四點與選定三點之任兩點所圍三角形面積合,等於選定三點的面積,代表第四點在三角形內
ex : △abc = △abd + △acd + △bcd , d在△內
4. 如果符合條件,把面積存起來,用於之後比較面積大小
5. 面積大的取代面積小的
6. 印出面積最大三角形-Passing any combination of uva 10112 1. Three in three for loop 2 and then a for loop to run other point other than these three points 3. If any of the three points of fourth spot with a selected triangle bounded covering an area equal to three of the area selected, representing the fourth point inside the triangle ex: △ abc = △ abd+ △ acd+ △ bcd, d in △ 4. If eligible, the area to save up for later comparison 5. A large area the size of a small area of 6. replace print the largest triangle
(系统自动生成,下载前可以参看下载内容)
下载文件列表
uva10112\uva10112#a.in.txt
........\uva10112#a.out.txt
........\uva10112#b.in.txt
........\uva10112#b.out.txt
........\uva10112_1101105324.cpp
........\uva10112_1101105324.exe
........\uva10112_readme.txt
uva10112