记录详情

Compile Error

foo.cc: In function 'int main()':
foo.cc:10:1: error: 'memset' was not declared in this scope
 memset(k,0,sizeof(0));
 ^~~~~~
foo.cc:10:1: note: suggested alternative: 'wmemset'
 memset(k,0,sizeof(0));
 ^~~~~~
 wmemset
foo.cc:9:6: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
 scanf("%d%d",&n,&m);
 ~~~~~^~~~~~~~~~~~~~
foo.cc:12:6: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
 scanf("%s",k[i]);
 ~~~~~^~~~~~~~~~~
自豪的采用HydroJudge(https://github.com/hydro-dev/Hydro)进行评测。

信息

递交者
类型
递交
题目
扫雷游戏
题目数据
下载
语言
C++
递交时间
2021-03-22 22:33:04
评测时间
2021-03-22 22:33:04
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes