Compile Error
/in/foo.cc: In function 'int main()':
/in/foo.cc:11:15: error: too few arguments to function 'int dfs(int, int)'
int ans=dfs(n);
^
/in/foo.cc:4:5: note: declared here
int dfs(int last,int top){
^~~
/in/foo.cc: In function 'int dfs(int, int)':
/in/foo.cc:7:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
信息
- 递交者
- 类型
- 自测
- 题目
- P1122 出栈序列统计
- 语言
- C++
- 递交时间
- 2018-07-20 12:02:32
- 评测时间
- 2018-07-20 12:02:32
- 评测机
- 分数
- 0
- 总耗时
- 0ms
- 峰值内存
- 0 Bytes