Compile Error
foo.cpp: In function 'int main()': foo.cpp:7:14: error: 'k' was not declared in this scope scanf("%d",&k); ^ foo.cpp:8:2: error: 'cube' was not declared in this scope cube[1][1]='+';cube[1][2]='-';cube[1][3]='-';cube[1][4]='-';cube[1][5]='+'; ^ foo.cpp:14:2: error: 'n' was not declared in this scope n= ^ foo.cpp:15:2: error: expected primary-expression before 'return' return 0; ^ foo.cpp:15:2: error: expected ';' before 'return'
信息
- 递交者
- 类型
- 递交
- 题目
- P1491 笨笨的数字积木
- 语言
- C++
- 递交时间
- 2016-11-02 21:35:45
- 评测时间
- 2016-11-02 21:35:53
- 评测机
- 分数
- 0
- 总耗时
- 0ms
- 峰值内存
- 0 Bytes