Compile Error
/in/foo.cc: In function 'int read()': /in/foo.cc:4:22: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'int' [-Wformat=] return scanf("%d",res); ^ /in/foo.cc:5:11: error: a function-definition is not allowed here before '{' token int main(){ ^ /in/foo.cc:6:33: error: expected '}' at end of input return std::cout<<read()+read();} ^
信息
- 递交者
- 类型
- 递交
- 题目
- A+B Problem
- 语言
- C++
- 递交时间
- 2019-02-16 15:01:52
- 评测时间
- 2019-02-16 15:01:52
- 评测机
- 分数
- 0
- 总耗时
- 0ms
- 峰值内存
- 0 Bytes