Problem sumint
User privatepolychoron
Submission Time 2024-01-26 10:49:30
Score 0
Max Time N/A
Max Memory N/A

Compile Error

sumint.cpp: In function ‘int main()’:
sumint.cpp:12:13: error: no match for call to ‘(std::vector<int>) (int&)’
12 | cin >> v(i);
| ^
sumint.cpp:15:22: error: ‘start’ was not declared in this scope
15 | cout << accumulate (start(v), end(v), 0);
| ^~~~~