Compile Error
/in/foo.cc:3:6: warning: ISO C++ forbids declaration of 'main' with no type [-Wreturn-type]
main()
^
/in/foo.cc: In function 'int main()':
/in/foo.cc:6:2: error: expected initializer before 'a'
a=a*0.2;
^
/in/foo.cc:8:2: error: 'c' was not declared in this scope
c=c*0.5;
^
/in/foo.cc:9:15: error: expected primary-expression before ';' token
cout<<a+b+c<<;
^
/in/foo.cc:10:15: error: expected primary-expression before ';' token
cout>>a+b+c>>;
^
信息
- 递交者
- 类型
- 递交
- 题目
- 成绩
- 语言
- C++
- 递交时间
- 2018-10-28 16:58:09
- 评测时间
- 2018-10-28 16:58:09
- 评测机
- 分数
- 0
- 总耗时
- 261ms
- 峰值内存
- 29.316 MiB