Problem | sumint |
---|---|
User | EuniceLoh |
Submission Time | 2024-11-07 10:43:11 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
sumint.cpp: In function ‘int main()’:
sumint.cpp:7:23: error: expected initializer before ‘==’ token
7 | long long totalmeows == 0;
| ^~
sumint.cpp:9:12: error: expected ‘;’ before ‘==’ token
9 | for (int i==0; i<d, i++) {
| ^~
| ;
sumint.cpp:9:12: error: expected primary-expression before ‘==’ token
9 | for (int i==0; i<d, i++) {
| ^~
sumint.cpp:12:3: error: ‘totalmeows’ was not declared in this scope
12 | totalmeows += meows;
| ^~~~~~~~~~
sumint.cpp:15:10: error: ‘totalmeows’ was not declared in this scope
15 | cout << totalmeows << endl;
| ^~~~~~~~~~