Compile Error
/in/foo.cc: In function 'int main()':
/in/foo.cc:25:16: error: invalid type argument of unary '*' (have '__gnu_cxx::__alloc_traits<std::allocator<long long int>, long long int>::value_type' {aka 'long long int'})
25 | ll l = *sub.back(), r = x[n] - x[1];
| ^~~~~~~~~~~
/in/foo.cc:26:20: error: 'r' was not declared in this scope
26 | while(l <= r) {
| ^
信息
- 递交者
- 类型
- 自测
- 题目
- 「一本通 1.2 例 1」愤怒的牛
- 语言
- C++
- 递交时间
- 2026-03-22 12:02:17
- 评测时间
- 2026-03-24 02:20:39
- 评测机
- 分数
- 0
- 总耗时
- 0ms
- 峰值内存
- 0 Bytes