Problem sumint
User lynovyl
Submission Time 2024-08-03 20:54:14
Score 0
Max Time N/A
Max Memory N/A

Compile Error

sumint.cpp: In function ‘int main()’:
sumint.cpp:6:9: error: expected unqualified-id before string constant
6 | string "meows";
| ^~~~~~~
sumint.cpp:13:16: error: ‘meows’ was not declared in this scope
13 | cin >> meows[i];
| ^~~~~
sumint.cpp:15:37: error: ‘meows’ was not declared in this scope
15 | long long total_meows = accumulate(meows.begin(), meows.end(), 0);
| ^~~~~