Compile Error
foo.cc: In function 'int main()': foo.cc:6:8: error: 'a' was not declared in this scope cin>>a; ^ foo.cc:6:8: note: suggested alternative: 'as' cin>>a; ^ as foo.cc:7:2: error: 's' was not declared in this scope s=a*a; ^ foo.cc:7:2: note: suggested alternative: 'as' s=a*a; ^ as foo.cc:5:9: warning: unused variable 'as' [-Wunused-variable] int as; ^~
[Hydro](https://hydro.ac)提供评测服务
信息
- 递交者
- 类型
- 递交
- 题目
- P1003 求正方形的面积
- 语言
- C++
- 递交时间
- 2021-10-29 19:49:35
- 评测时间
- 2021-10-29 19:49:35
- 评测机
- 分数
- 0
- 总耗时
- 0ms
- 峰值内存
- 0 Bytes