Compile Error
foo.cc: In function 'int main()': foo.cc:8:30: error: invalid operands of types 'const char [2]' and 'int' to binary 'operator<<' cout <<a+b<<" "<< b+a+b<" " <<a+b+b+a+b; ~~~~^~~~~~~~~~~ foo.cc:8:39: warning: suggest parentheses around '+' inside '<<' [-Wparentheses] cout <<a+b<<" "<< b+a+b<" " <<a+b+b+a+b; ~~~~~~~^~ 自豪的采用 HydroJudge 进行评测(github.com/hydro-dev/HydroJudge)
正在同步测试数据,请稍后
信息
- 递交者
- 类型
- 递交
- 题目
- P1015 简单的斐波那契数列
- 语言
- C++
- 递交时间
- 2020-07-15 11:45:22
- 评测时间
- 2020-07-15 11:45:22
- 评测机
- 分数
- 0
- 总耗时
- 0ms
- 峰值内存
- 0 Bytes