Problem stonk
User burningout
Submission Time 2025-03-09 01:13:23
Score 0
Max Time N/A
Max Memory N/A

Compile Error

stonk.cpp: In function ‘int main()’:
stonk.cpp:19:3: error: ‘total’ was not declared in this scope
19 | total += A[i] * maxB[i];
| ^~~~~
stonk.cpp:21:10: error: ‘total’ was not declared in this scope
21 | cout << total;
| ^~~~~
stonk.cpp:21:15: error: expected ‘}’ at end of input
21 | cout << total;
| ^
stonk.cpp:4:12: note: to match this ‘{’
4 | int main() {
| ^