Problem snowball
User superG
Submission Time 2025-07-07 15:55:56
Score 0
Max Time N/A
Max Memory N/A

Compile Error

snowball.cpp: In function ‘int main()’:
snowball.cpp:60:22: error: expected initializer before ‘+=’ token
60 | long longSum += S[i] * S[i];
| ^~
snowball.cpp:65:13: error: expected ‘}’ at end of input
65 | return 0;
| ^
snowball.cpp:7:12: note: to match this ‘{’
7 | int main() {
| ^