Problem sumsumdigit
User JJ1234
Submission Time 2024-12-11 09:07:07
Score 0
Max Time N/A
Max Memory N/A

Compile Error

sumsumdigit.cpp: In function ‘int main()’:
sumsumdigit.cpp:9:10: error: ‘n’ was not declared in this scope
9 | int arr[n];
| ^
sumsumdigit.cpp:10:36: error: ‘arr’ was not declared in this scope
10 | for(int i = 0; i < t; i++) cin >> arr[i];
| ^~~