Problem sum2
User caslyn
Submission Time 2026-06-25 09:32:27
Score 0
Max Time N/A
Max Memory N/A

Compile Error

sum2.cpp: In function ‘int main()’:
sum2.cpp:22:10: error: ‘a’ was not declared in this scope
22 | max2= a[i];
| ^
sum2.cpp:26:14: error: expected ‘;’ before ‘}’ token
26 | return 0
| ^
| ;
27 | }
| ~