Compile Error
foo.cc: In function 'int main()':
foo.cc:8:16: error: 'ln' was not declared in this scope
printf("%.5f",ln(x/y)+1);
^~
foo.cc:8:16: note: suggested alternative: 'yn'
printf("%.5f",ln(x/y)+1);
^~
yn
foo.cc:7:7: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%lf%lf",&x,&y);
~~~~~^~~~~~~~~~~~~~~~
自豪的采用 HydroJudge 进行评测(github.com/hydro-dev/HydroJudge)
信息
- 递交者
- 类型
- 自测
- 题目
- P2057 百奇(一)
- 语言
- C++
- 递交时间
- 2020-07-10 15:14:04
- 评测时间
- 2020-07-10 15:14:04
- 评测机
- 分数
- 0
- 总耗时
- 0ms
- 峰值内存
- 0 Bytes