Problem sumint
User Yicen
Submission Time 2025-02-21 20:11:18
Score 0
Max Time N/A
Max Memory N/A

Compile Error

sumint.cpp: In function ‘int main()’:
sumint.cpp:14:15: error: no match for ‘operator+=’ (operand types are ‘long long int’ and ‘std::vector<int>’)
14 | total_meows += meows;
| ~~~~~~~~~~~~^~~~~~~~
sumint.cpp:17:20: error: ‘i’ was not declared in this scope
17 | cout<<total_meows[i];
| ^
sumint.cpp:18:9: error: ‘o’ was not declared in this scope
18 | return o;
| ^