Compile Error
/in/foo.cc: In function 'int main()':
/in/foo.cc:16:13: error: 'i' was not declared in this scope
y=y+score[i]*w[i];
^
/in/foo.cc:19:7: warning: unused variable 'ans' [-Wunused-variable]
int ans=0;
^~~
/in/foo.cc:22:7: warning: unused variable 'ans' [-Wunused-variable]
int ans=y;
^~~
信息
- 递交者
- 类型
- 递交
- 题目
- P1036 表达式2
- 语言
- C++
- 递交时间
- 2021-11-08 11:06:17
- 评测时间
- 2021-11-08 11:06:17
- 评测机
- 分数
- 0
- 总耗时
- 0ms
- 峰值内存
- 0 Bytes