Wrong Answer
foo.cc: In function 'int main()':
foo.cc:27:20: warning: comparison of integer expressions of different signedness: 'long long int' and 'std::vector<long double>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
27 | for (int i=0; i<p.size(); i++) {
| ~^~~~~~~~~
foo.cc:41:16: warning: format '%f' expects argument of type 'double', but argument 2 has type 'long double' [-Wformat=]
41 | printf("%.6f\n",sum);
| ~~~^ ~~~
| | |
| | long double
| double
| %.6Lf
[Hydro](https://hydro.ac)提供评测服务
信息
- 递交者
- 类型
- 递交
- 题目
- P1443 3-11 小R的飞行之旅
- 比赛
- 2023年暑期算法队集训赛1
- 语言
- C++
- 递交时间
- 2023-07-07 12:09:53
- 评测时间
- 2023-07-07 12:09:53
- 评测机
- 分数
- 0
- 总耗时
- 43ms
- 峰值内存
- 412.0 KiB