记录详情

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)提供评测服务

信息

递交者
类型
递交
题目
P3009 A10-2 有序子序列的合并
语言
C++
递交时间
2023-11-28 15:44:08
评测时间
2023-11-28 15:44:08
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes