Problem modulochain
User CastyLoz17
Submission Time 2024-03-01 16:09:06
Score 0
Max Time N/A
Max Memory N/A

Compile Error

modulochain.cpp: In function ‘int main()’:
modulochain.cpp:16:27: error: invalid use of member function ‘std::vector<_Tp, _Alloc>::size_type std::vector<_Tp, _Alloc>::size() const [with _Tp = long long int; _Alloc = std::allocator<long long int>; std::vector<_Tp, _Alloc>::size_type = long unsigned int]’ (did you forget the ‘()’ ?)
16 | cout<<(vec[0]+vec[vec.size-1])%MOD<<" ";
| ~~~~^~~~
| ()