Compile Error
/in/foo.cc: In function 'int main()': /in/foo.cc:7:6: error: storage size of 'a' isn't known int a[][2]; ^ /in/foo.cc:8:2: error: 'cin' was not declared in this scope cin>>n; ^~~ /in/foo.cc:8:2: note: suggested alternative: 'main' cin>>n; ^~~ main /in/foo.cc:24:5: error: 'cout' was not declared in this scope cout<<num<<endl; ^~~~ /in/foo.cc:24:16: error: 'endl' was not declared in this scope cout<<num<<endl; ^~~~ /in/foo.cc:24:16: note: suggested alternative: 'enum' cout<<num<<endl; ^~~~ enum
信息
- 递交者
- 类型
- 自测
- 题目
- 3 有两个孩子的家庭个数
- 语言
- C++
- 递交时间
- 2018-12-02 08:17:11
- 评测时间
- 2018-12-02 08:17:11
- 评测机
- 分数
- 0
- 总耗时
- 15ms
- 峰值内存
- 3.418 MiB