Compile Error
/in/foo.cc: In function 'int main()':
/in/foo.cc:12:22: error: 'ans' was not declared in this scope
if(b[j]>=a[i]) j--,ans++;
^~~
/in/foo.cc:15:19: error: 'ans' was not declared in this scope
printf("%d\n",ans);
^~~
信息
- 递交者
- 类型
- 自测
- 题目
- P1291 苹果摘陶陶
- 语言
- C++
- 递交时间
- 2020-11-02 23:40:57
- 评测时间
- 2020-11-02 23:40:57
- 评测机
- 分数
- 0
- 总耗时
- 0ms
- 峰值内存
- 0 Bytes