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

Compile Error

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