Compile Error
/in/foo.cc: In function 'int main()': /in/foo.cc:8:10: error: expected initializer before 'b' float a b s; ^ /in/foo.cc:9:7: error: 'a' was not declared in this scope cin>>a; ^ /in/foo.cc:10:7: error: 'b' was not declared in this scope cin>>b; ^ /in/foo.cc:11:2: error: 's' was not declared in this scope s=a+a*b; ^
信息
- 递交者
- 类型
- 递交
- 题目
- P1019 压岁钱
- 语言
- C++
- 递交时间
- 2020-05-05 10:12:05
- 评测时间
- 2020-05-05 10:12:05
- 评测机
- 分数
- 0
- 总耗时
- 0ms
- 峰值内存
- 0 Bytes