Compile Error
/in/foo.cc: In function 'int main()': /in/foo.cc:12:49: error: 'sqrt' was not declared in this scope double len=sqrt((a1-a2)*(a1-a2)+(b1-b2)*(b1-b2)); ^ /in/foo.cc:14:26: error: 'sin' was not declared in this scope double ai=len*sin(18*DEC); ^ /in/foo.cc:15:26: error: 'cos' was not declared in this scope double bi=len*cos(18*DEC); ^
信息
- 递交者
- 类型
- 递交
- 比赛
- 2020年互联网创新创业科技节程序设计大赛
- 语言
- C++
- 递交时间
- 2020-12-09 16:22:55
- 评测时间
- 2020-12-09 16:22:55
- 评测机
- 分数
- 0
- 总耗时
- 0ms
- 峰值内存
- 0 Bytes