摘要:
/*WA到暴了,不能用gets()!!!改成cin.getline() 就过了。把要用的数据都读出来,然后带入一个公式。设球上两个点(x1, y1),(x2, y2);sum = r*acos(sin(x1)*sin(x2) + cos(x1)*cos(x2)*cos(y1-y2));*///My Code:#include <iostream>#include <cstdio>#include <cstring>#include <cmath>#define E 1e-5using namespace std;const int N = 100 阅读全文