记录详情

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:201:9: error: 'scanf_s' was not declared in this scope; did you mean 'scanf'?
  201 |         scanf_s("%d %d", &n1, &n2);
      |         ^~~~~~~
      |         scanf
foo.cc:204:13: warning: unused variable 'xx' [-Wunused-variable]
  204 |         int xx = n1, yy = n2, zz = n3;
      |             ^~
foo.cc:204:22: warning: unused variable 'yy' [-Wunused-variable]
  204 |         int xx = n1, yy = n2, zz = n3;
      |                      ^~
foo.cc:204:31: warning: unused variable 'zz' [-Wunused-variable]
  204 |         int xx = n1, yy = n2, zz = n3;
      |                               ^~
[Hydro](https://hydro.ac)提供评测服务

信息

递交者
类型
递交
题目
A10-2 有序子序列的合并
比赛
2023 程序设计与竞赛(作业5:从数组看集体)
语言
C++
递交时间
2023-10-21 16:38:09
评测时间
2023-10-21 16:38:09
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes