记录详情

Compile Error

foo.cc: In function 'int LeftCout(char*, int)':
foo.cc:46:2: error: 'strrev' was not declared in this scope
  strrev(shu);
  ^~~~~~
foo.cc:46:2: note: suggested alternative: 'strsep'
  strrev(shu);
  ^~~~~~
  strsep
foo.cc:52:1: warning: no return statement in function returning non-void [-Wreturn-type]
 }
 ^
foo.cc: In function 'int main()':
foo.cc:22:7: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
  scanf("%[^\n]",s);
  ~~~~~^~~~~~~~~~~~
自豪的采用HydroJudge(https://github.com/hydro-dev/Hydro)进行评测。

信息

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