| Problem | penguingathering |
|---|---|
| User | shaekpie |
| Submission Time | 2026-06-24 15:33:31 |
| Score | 0 |
| Max Time | N/A |
| Max Memory | N/A |
Owl Get a Life
penguingathering.cpp: In function ‘int main()’:
penguingathering.cpp:12:36: error: expected ‘)’ before ‘{’ token
12 | for (int i = 0; i<X.length(); i+=3 {
| ~ ^~
| )
penguingathering.cpp:14:10: error: ‘stoic’ was not declared in this scope
14 | sum += stoic(X.substr(i, i+2));
| ^~~~~
penguingathering.cpp:21:19: error: ‘stoic’ was not declared in this scope
21 | total += (sum - stoic(X.substr(i, i+2))) * (sum - stoic(X.substr(i, i+2)));
| ^~~~~