记录详情

Compile Error

/in/foo.cc: In function 'int main()':
/in/foo.cc:18:20: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'int' [-Wformat=]
  scanf("%d%d\n",n,m);
                    ^
/in/foo.cc:18:20: warning: format '%d' expects argument of type 'int*', but argument 3 has type 'int' [-Wformat=]
/in/foo.cc:19:13: error: 's' was not declared in this scope
  scanf("%c",s);
             ^

信息

递交者
类型
递交
题目
Efim与奇怪的成绩 (grade.*)
题目数据
下载
语言
C++
递交时间
2020-09-19 10:27:12
评测时间
2020-09-19 10:27:12
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes