Problem | traineeline |
---|---|
User | asbx |
Submission Time | 2023-12-13 11:42:09 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
traineeline.cpp: In function ‘int main()’:
traineeline.cpp:24:21: error: expression cannot be used as a function
24 | c+=(a*s.second());
| ^
traineeline.cpp:30:12: error: invalid use of member function ‘std::deque<_Tp, _Alloc>::const_reference std::deque<_Tp, _Alloc>::front() const [with _Tp = std::pair<int, int>; _Alloc = std::allocator<std::pair<int, int> >; std::deque<_Tp, _Alloc>::const_reference = const std::pair<int, int>&]’ (did you forget the ‘()’ ?)
30 | a=a-b.front.first;
| ~~^~~~~
| ()