Compile Error
/in/foo.cc: In function 'int main()':
/in/foo.cc:9:15: error: invalid types 'long long int[int]' for array subscript
9 | cin>>a[10000]
| ^
/in/foo.cc:10:20: error: 'i' was not declared in this scope
10 | for (int i = 0;i<=n;i++)
| ^
/in/foo.cc:5:15: warning: unused variable 'm' [-Wunused-variable]
5 | int n,m;
| ^
信息
- 递交者
- 类型
- 递交
- 题目
- *计算逆序数
- 语言
- C++
- 递交时间
- 2026-12-01 19:31:56
- 评测时间
- 2026-12-01 19:31:56
- 评测机
- 分数
- 0
- 总耗时
- 0ms
- 峰值内存
- 0 Bytes