/ Vijos /

记录详情

Compile Error

foo.cc: In function 'int main()':
foo.cc:34:22: error: 'x1' was not declared in this scope
       if(xxx+pow(abs(x1[xxx]-x2)+abs(yy1[xxx]-y2),2)>f[i][j])
                      ^~
foo.cc:34:22: note: suggested alternative: 'x2'
       if(xxx+pow(abs(x1[xxx]-x2)+abs(yy1[xxx]-y2),2)>f[i][j])
                      ^~
                      x2
foo.cc:13:9: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
  freopen("rabbit.in","r",stdin);
  ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~
foo.cc:14:9: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
  freopen("rabbit.out","w",stdout);
  ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~
自豪的采用HydroJudge(https://github.com/hydro-dev/Hydro)进行评测。

信息

递交者
类型
递交
题目
P1474 雷曼兔(csapc)
语言
C++
递交时间
2021-05-16 14:40:27
评测时间
2021-05-16 14:40:27
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes