Compile Error
/in/foo.cc: In function 'int main()': /in/foo.cc:6:23: error: 'cin' was not declared in this scope while(a[i-1]||a[i-2])cin>>a[i],i++; ^ /in/foo.cc:8:2: error: 'cout' was not declared in this scope cout<<a[j]+a[j+1]<<endl; ^ /in/foo.cc:8:21: error: 'endl' was not declared in this scope cout<<a[j]+a[j+1]<<endl; ^
信息
- 递交者
- 类型
- 递交
- 语言
- C++
- 递交时间
- 2023-01-06 09:55:49
- 评测时间
- 2023-02-20 20:25:10
- 评测机
- 分数
- 0
- 总耗时
- 0ms
- 峰值内存
- 0 Bytes