Problem twoarrays
User carson
Submission Time 2026-01-26 15:39:46
Score 0
Max Time N/A
Max Memory N/A

Compile Error

twoarrays.cpp: In function ‘int main()’:
twoarrays.cpp:20:18: error: expected ‘;’ before ‘i’
20 | for(int i = 1; i i <= n; i++){
| ^~
| ;
twoarrays.cpp:20:25: error: expected ‘)’ before ‘;’ token
20 | for(int i = 1; i i <= n; i++){
| ~ ^
| )
twoarrays.cpp:20:27: error: ‘i’ was not declared in this scope
20 | for(int i = 1; i i <= n; i++){
| ^