Problem | sumint |
---|---|
User | Krishna |
Submission Time | 2023-10-19 08:43:48 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
sumint.cpp: In function ‘int main()’:
sumint.cpp:16:11: error: found ‘:’ in nested-name-specifier, expected ‘::’
16 | for (meow:meows) {
| ^
| ::
sumint.cpp:16:7: error: ‘meow’ has not been declared
16 | for (meow:meows) {
| ^~~~
sumint.cpp:20:2: error: expected primary-expression before ‘return’
20 | return 0;
| ^~~~~~
sumint.cpp:19:14: error: expected ‘)’ before ‘return’
19 | cout << sum;
| ^
| )
20 | return 0;
| ~~~~~~
sumint.cpp:16:6: note: to match this ‘(’
16 | for (meow:meows) {
| ^