Problem twoarrays
User IyasM
Submission Time 2025-12-03 15:46:57
Score 0
Max Time N/A
Max Memory N/A

Compile Error

twoarrays.cpp: In function ‘int main()’:
twoarrays.cpp:24:3: error: ‘gap’ was not declared in this scope
24 | gap = mx - mn
| ^~~
twoarrays.cpp:31:16: error: ‘gap’ was not declared in this scope
31 | cout << sum + gap * 2;
| ^~~