/ Vijos /

记录详情

Compile Error

foo.cc: In function 'int main()':
foo.cc:11:25: error: 'c' was not declared in this scope
   11 |    min2=min(sqrt(fabs(a-c)*fabs(a-c)+ fabs(b-d)*fabs(b-d)),min2);
      |                         ^
foo.cc:11:44: error: 'b' was not declared in this scope
   11 |    min2=min(sqrt(fabs(a-c)*fabs(a-c)+ fabs(b-d)*fabs(b-d)),min2);
      |                                            ^
foo.cc:11:46: error: 'd' was not declared in this scope
   11 |    min2=min(sqrt(fabs(a-c)*fabs(a-c)+ fabs(b-d)*fabs(b-d)),min2);
      |                                              ^
foo.cc:13:12: error: expected ';' before '}' token
   13 |   min1=min2
      |            ^
      |            ;
   14 |  }
      |  ~          
[Hydro](https://hydro.ac)提供评测服务

信息

递交者
类型
递交
题目
P1012 清帝之惑之雍正
语言
C++
递交时间
2022-04-09 18:12:43
评测时间
2022-04-09 18:12:43
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes