Problem potatosalad
User CapK1wi
Submission Time 2026-04-11 22:02:05
Score 0
Max Time N/A
Max Memory N/A

Compile Error

potatosalad.cpp: In function ‘int main()’:
potatosalad.cpp:10:12: error: no match for call to ‘(std::vector<int>) (int&)’
10 | cin >> v(N);
| ^
potatosalad.cpp:15:15: error: no match for ‘operator+=’ (operand types are ‘std::basic_ostream<char>’ and ‘int’)
15 | cout << sum += x
| ~~~~~~~~~~~~^~~~