Compile Error
foo.cc: In function ‘int main()’:
foo.cc:7:10: error: incompatible types in assignment of ‘int’ to ‘int [200005]’
7 | n=a;
| ~^~
foo.cc:8:22: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
8 | for(int i=1;i<=n;i++)
| ~^~~
foo.cc:11:22: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
11 | for(int i=1;i<=n;i++)
| ~^~~
信息
- 递交者
- 类型
- 递交
- 题目
- P3069 算力 202602saccc四级T1
- 语言
- C++
- 递交时间
- 2026-10-15 20:43:22
- 评测时间
- 2026-10-15 20:43:22
- 评测机
- 分数
- 0
- 总耗时
- 0ms
- 峰值内存
- 0 Bytes