Compile Error

/in/foo.cc: In function 'int main()':
/in/foo.cc:7:9: error: redeclaration of 'double x'
  double x=max(y,z)-min(y,z);
         ^
/in/foo.cc:4:9: note: 'double x' previously declared here
  double x,y,z;
         ^
/in/foo.cc:8:2: error: 's' was not declared in this scope
  s=x/s;
  ^

信息

递交者
类型
递交
题目
P1024 散步
语言
C++
递交时间
2024-07-12 16:07:58
评测时间
2024-07-12 16:07:58
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes