Problem sumofdigits
User Masquared
Submission Time 2026-11-27 22:11:40
Score 0
Max Time N/A
Max Memory N/A

Compile Error

sumofdigits.cpp:6:1: error: ‘y’ does not name a type
6 | y = 0;
| ^
sumofdigits.cpp: In function ‘int main()’:
sumofdigits.cpp:12:12: error: expected ‘}’ at end of input
12 | cout << y;}
| ^
sumofdigits.cpp:7:14: note: to match this ‘{’
7 | signed main(){
| ^