Runtime Error
/in/foo.cc: In function 'int main()':
/in/foo.cc:23:40: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'long long int*' [-Wformat=]
for(int i=1;i<=n;i++) scanf("%d",&a[i]),sum[i]=sum[i-1]+a[i];
^
/in/foo.cc:47:18: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int k=0;k<b.size();k++)
~^~~~~~~~~
/in/foo.cc:24:6: warning: unused variable 'mm' [-Wunused-variable]
int mm=sqrt(m);
^~
信息
- 递交者
- 类型
- 递交
- 题目
- P3141 动态子序列和
- 语言
- C++
- 递交时间
- 2025-11-10 10:06:25
- 评测时间
- 2025-11-10 10:06:25
- 评测机
- 分数
- 0
- 总耗时
- 328ms
- 峰值内存
- 15.758 MiB