记录详情

Compile Error

foo.cc: In function 'int FindAscCount(int*, int)':
foo.cc:129:13: warning: unused variable 'len' [-Wunused-variable]
  129 |         int len = 0;
      |             ^~~
foo.cc: In function 'int main()':
foo.cc:223:9: error: 'scanf_s' was not declared in this scope; did you mean 'scanf'?
  223 |         scanf_s("%d %d", &n1, &n2);
      |         ^~~~~~~
      |         scanf
foo.cc:226:13: warning: unused variable 'xx' [-Wunused-variable]
  226 |         int xx = n1, yy = n2, zz = n3;
      |             ^~
foo.cc:226:22: warning: unused variable 'yy' [-Wunused-variable]
  226 |         int xx = n1, yy = n2, zz = n3;
      |                      ^~
foo.cc:226:31: warning: unused variable 'zz' [-Wunused-variable]
  226 |         int xx = n1, yy = n2, zz = n3;
      |                               ^~
[Hydro](https://hydro.ac)提供评测服务

信息

递交者
类型
递交
题目
A10-3 数组的去重
比赛
2023 程序设计与竞赛(作业5:从数组看集体)
语言
C++
递交时间
2023-10-21 17:03:25
评测时间
2023-10-21 17:03:25
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes