0_0_17669600_18993.cpp: In function 'int main()':
0_0_17669600_18993.cpp:28:39: error: 'sqrt' was not declared in this scope
result = (xy[0].y - xy[1].y)*sqrt(2);
^
0_0_17669600_18993.cpp:32:49: error: 'sqrt' was not declared in this scope
result = result + sqrt(i*i + (i + 1)*(i + 1));//大折线数
^
0_0_17669600_18993.cpp:38:34: error: 'sqrt' was not declared in this scope
result = result + count*sqrt(2);
^
|