Compile Error
foo.cpp:12:31: error: size of array 'b' is too large int a[100001]={0},b[1500000001]={0}; ^ foo.cpp: In function 'int main()': foo.cpp:21:9: error: 'b' was not declared in this scope b[a[i]]++; ^ foo.cpp:24:12: error: 'b' was not declared in this scope if(b[i]) printf("%d %d\n",i,b[i]); ^
信息
- 递交者
- 类型
- 递交
- 题目
- P1816 统计数字
- 语言
- C++
- 递交时间
- 2015-02-21 23:36:08
- 评测时间
- 2015-02-21 23:36:08
- 评测机
- 分数
- 0
- 总耗时
- 0ms
- 峰值内存
- 0 Bytes