Compile Error
/in/foo.cc:1:1: error: 'include' does not name a type include <iostream> ^~~~~~~ /in/foo.cc: In function 'int main()': /in/foo.cc:7:5: error: 'cin' was not declared in this scope cin >> n >> m; ^~~ /in/foo.cc:16:23: error: 'abs' was not declared in this scope if(abs(s1 - s2) == m) sum ++; ^ /in/foo.cc:18:5: error: 'cout' was not declared in this scope cout << sum / 2 << endl; ^~~~ /in/foo.cc:18:24: error: 'endl' was not declared in this scope cout << sum / 2 << endl; ^~~~
信息
- 递交者
- 类型
- 递交
- 题目
- P1010 [蓝桥杯省赛 2021 中级组] 求和比较
- 语言
- C++
- 递交时间
- 2021-05-28 22:27:52
- 评测时间
- 2021-05-28 22:27:52
- 评测机
- 分数
- 0
- 总耗时
- 0ms
- 峰值内存
- 0 Bytes