Compile Error
/in/foo.cc: In function 'int main()': /in/foo.cc:7:8: error: 'cin' was not declared in this scope while(cin>>n){ ^ /in/foo.cc:22:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int k = 0;k < s[j].size();k++){ ^ /in/foo.cc:34:28: error: 'cout' was not declared in this scope for(int i = 0;i < n;i++) cout<<s[i]<<endl; ^ /in/foo.cc:34:40: error: 'endl' was not declared in this scope for(int i = 0;i < n;i++) cout<<s[i]<<endl; ^
信息
- 递交者
- 类型
- 递交
- 题目
- P1028 按长度排序
- 语言
- C++
- 递交时间
- 2022-03-18 10:46:24
- 评测时间
- 2022-03-18 10:46:24
- 评测机
- 分数
- 0
- 总耗时
- 0ms
- 峰值内存
- 0 Bytes