记录详情

Compile Error

foo.cc: In function 'int MoveRight(int, int, int, int*)':
foo.cc:25:2: warning: control reaches end of non-void function [-Wreturn-type]
  }
  ^
foo.cc: In function 'int main()':
foo.cc:8:9: warning: 'n' is used uninitialized in this function [-Wuninitialized]
  int a[n];
         ^
/tmp/ccZATqB9.o: In function `main':
foo.cc:(.text.startup+0x91): undefined reference to `MoveRight(int, int, int*)'
foo.cc:(.text.startup+0xb2): undefined reference to `MoveRight(int, int, int*)'
collect2: error: ld returned 1 exit status
自豪的采用HydroJudge(https://github.com/hydro-dev/Hydro)进行评测。

信息

递交者
类型
递交
比赛
2020苏青奥赛集训营(2021-3-7课后作业)
语言
C++
递交时间
2021-03-08 18:37:09
评测时间
2021-03-08 18:37:09
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes