Borderou de evaluare (job #1516742)

Utilizator reti_eniReti Eniko reti_eni Data 3 noiembrie 2015 15:09:17
Problema Cel mai lung subsir comun Status done
Runda Arhiva educationala Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp: In function ‘int main()’: user.cpp:8:28: error: expected ‘)’ before ‘;’ token for (int i=1; i<=n; i++;) cin>>a[i]; ^ user.cpp:8:29: error: expected primary-expression before ‘)’ token for (int i=1; i<=n; i++;) cin>>a[i]; ^ user.cpp:8:29: error: expected ‘;’ before ‘)’ token user.cpp:9:28: error: expected ‘)’ before ‘;’ token for (int j=1; j<=n; j++;) cin>>b[j]; ^ user.cpp:9:29: error: expected primary-expression before ‘)’ token for (int j=1; j<=n; j++;) cin>>b[j]; ^ user.cpp:9:29: error: expected ‘;’ before ‘)’ token user.cpp:10:28: error: expected ‘)’ before ‘;’ token for (int i=1; i<=n; i++;) ^ user.cpp:10:29: error: expected primary-expression before ‘)’ token for (int i=1; i<=n; i++;) ^ user.cpp:10:29: error: expected ‘;’ before ‘)’ token user.cpp:11:23: error: ‘j’ was not declared in this scope for (int j=1; j<=n; j++;) ^ user.cpp:11:33: error: expected primary-expression before ‘)’ token for (int j=1; j<=n; j++;) ^ user.cpp:11:33: error: expected ‘;’ before ‘)’ token user.cpp:7:11: warning: unused variable ‘m’ [-Wunused-variable] int n,m, a[100],b[100], s[100][100]; ^ user.cpp:7:14: warning: unused variable ‘a’ [-Wunused-variable] int n,m, a[100],b[100], s[100][100]; ^ user.cpp:7:21: warning: unused variable ‘b’ [-Wunused-variable] int n,m, a[100],b[100], s[100][100]; ^ user.cpp:7:29: warning: unused variable ‘s’ [-Wunused-variable] int n,m, a[100],b[100], s[100][100]; ^

Ceva nu functioneaza?