记录详情

Accepted

foo.cc: In function 'int main()':
foo.cc:141:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
  141 |     for(int i=1;i<n-1;i++)
      |     ^~~
foo.cc:167:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
  167 |         printf("%.1lf\n",ret);
      |         ^~~~~~
foo.cc:136:30: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
  136 |     for(int i=0;i<n;i++)scanf("%lf%lf",&pp.x,&pp.y),p1.push_back(pp);
      |                         ~~~~~^~~~~~~~~~~~~~~~~~~~~~
foo.cc:137:30: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
  137 |     for(int i=0;i<m;i++)scanf("%lf%lf",&pp.x,&pp.y),p2.push_back(pp);
      |                         ~~~~~^~~~~~~~~~~~~~~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Accepted 7ms 384.0 KiB
#2 Accepted 6ms 384.0 KiB
#3 Accepted 4ms 384.0 KiB
#4 Accepted 6ms 384.0 KiB
#5 Accepted 4ms 384.0 KiB
#6 Accepted 4ms 384.0 KiB
#7 Accepted 5ms 384.0 KiB
#8 Accepted 5ms 384.0 KiB
#9 Accepted 4ms 384.0 KiB
#10 Accepted 4ms 384.0 KiB
#11 Accepted 6ms 384.0 KiB
#12 Accepted 5ms 384.0 KiB
#13 Accepted 4ms 384.0 KiB
#14 Accepted 5ms 384.0 KiB
#15 Accepted 3ms 384.0 KiB
#16 Accepted 3ms 384.0 KiB
#17 Accepted 5ms 384.0 KiB
#18 Accepted 2ms 384.0 KiB
#19 Accepted 4ms 384.0 KiB
#20 Accepted 3ms 384.0 KiB
#21 Accepted 4ms 384.0 KiB
#22 Accepted 4ms 384.0 KiB
#23 Accepted 5ms 384.0 KiB
#24 Accepted 4ms 384.0 KiB
#25 Accepted 4ms 384.0 KiB
#26 Accepted 3ms 384.0 KiB
#27 Accepted 4ms 384.0 KiB
#28 Accepted 5ms 384.0 KiB
#29 Accepted 4ms 384.0 KiB
#30 Accepted 4ms 384.0 KiB

信息

递交者
类型
递交
题目
P1382 Problem A. Area
比赛
2022年暑期算法队集训赛
语言
C++
递交时间
2022-07-08 15:42:02
评测时间
2022-07-08 15:42:02
评测机
分数
100
总耗时
145ms
峰值内存
384.0 KiB